public class Web2VcsRepositoryViewerConverterModuleDescriptor extends AbstractBambooModuleDescriptor<Web2VcsRepositoryViewerConverter>
Modifier and Type | Field and Description |
---|---|
static String |
XML_ELEMENT_NAME |
Constructor and Description |
---|
Web2VcsRepositoryViewerConverterModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
protected boolean |
isMutable()
Whether modules of this descriptor are supposed to be mutated by external components.
|
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, postInit, preInit
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
public static final String XML_ELEMENT_NAME
public Web2VcsRepositoryViewerConverterModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<Web2VcsRepositoryViewerConverter>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Web2VcsRepositoryViewerConverter>
com.atlassian.plugin.PluginParseException
protected boolean isMutable()
AbstractBambooModuleDescriptor
true
, which means a fresh module instance will be created each time AbstractBambooModuleDescriptor.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
.
isMutable
in class AbstractBambooModuleDescriptor<Web2VcsRepositoryViewerConverter>
true
if modules of this descriptor are mutableCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.