public class BambooEventListenerModuleDescriptor extends AbstractBambooModuleDescriptor<Object>
| Constructor and Description |
|---|
BambooEventListenerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.event.api.EventPublisher eventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
void |
disabled() |
void |
enabled() |
protected boolean |
isMutable()
Whether modules of this descriptor are supposed to be mutated by external components.
|
getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, postInit, preInitassertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringpublic BambooEventListenerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.event.api.EventPublisher eventPublisher)
protected boolean isMutable()
AbstractBambooModuleDescriptortrue, 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<Object>true if modules of this descriptor are mutablepublic void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Object>public void disabled()
disabled in interface com.atlassian.plugin.StateAwaredisabled in class AbstractBambooModuleDescriptor<Object>Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.