public class SafeModuleTransformerFactory extends Object
Constructor and Description |
---|
SafeModuleTransformerFactory() |
Modifier and Type | Method and Description |
---|---|
static <M,T extends com.atlassian.plugin.ModuleDescriptor<M>> |
getTransformer(com.atlassian.plugin.PluginController pluginController)
Creates a function that safely extracts the module instance from the given module descriptor.
|
public static <M,T extends com.atlassian.plugin.ModuleDescriptor<M>> com.google.common.base.Function<T,M> getTransformer(com.atlassian.plugin.PluginController pluginController)
Copyright © 2003–2015 Atlassian. All rights reserved.