Class Web2VcsRepositoryViewerConverterModuleDescriptor
- java.lang.Object
-
- com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
-
- com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<Web2VcsRepositoryViewerConverter>
-
- com.atlassian.bamboo.vcs.viewer.module.Web2VcsRepositoryViewerConverterModuleDescriptor
-
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<Web2VcsRepositoryViewerConverter>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware
public class Web2VcsRepositoryViewerConverterModuleDescriptor extends AbstractBambooModuleDescriptor<Web2VcsRepositoryViewerConverter>
-
-
Field Summary
Fields Modifier and Type Field Description static StringXML_ELEMENT_NAME
-
Constructor Summary
Constructors Constructor Description Web2VcsRepositoryViewerConverterModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull org.dom4j.Element element)protected booleanisMutable()Whether modules of this descriptor are supposed to be mutated by external components.-
Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, postInit, preInit
-
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate
-
-
-
-
Field Detail
-
XML_ELEMENT_NAME
public static final String XML_ELEMENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(@NotNull @NotNull com.atlassian.plugin.Plugin plugin, @NotNull @NotNull org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException- Specified by:
initin interfacecom.atlassian.plugin.ModuleDescriptor<Web2VcsRepositoryViewerConverter>- Overrides:
initin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Web2VcsRepositoryViewerConverter>- Throws:
com.atlassian.plugin.PluginParseException
-
isMutable
protected boolean isMutable()
Description copied from class:AbstractBambooModuleDescriptorWhether modules of this descriptor are supposed to be mutated by external components. By default this returnstrue, which means a fresh module instance will be created each timeAbstractBambooModuleDescriptor.getModule()is called.Subclasses that are safe to cache a singleton instance of module throughout the life span of this descriptor can override this method and return
false.- Overrides:
isMutablein classAbstractBambooModuleDescriptor<Web2VcsRepositoryViewerConverter>- Returns:
trueif modules of this descriptor are mutable
-
-