Class EventListenerModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Object>
com.atlassian.plugin.eventlistener.descriptors.EventListenerModuleDescriptor
- All Implemented Interfaces:
ModuleDescriptor<Object>,Resourced,ScopeAware,StateAware
-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionEventListenerModuleDescriptor(ModuleFactory moduleFactory, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Constructor Details
-
EventListenerModuleDescriptor
public EventListenerModuleDescriptor(ModuleFactory moduleFactory, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
init
- Specified by:
initin interfaceModuleDescriptor<Object>- Overrides:
initin classAbstractModuleDescriptor<Object>
-
getModule
- Specified by:
getModulein interfaceModuleDescriptor<Object>- Specified by:
getModulein classAbstractModuleDescriptor<Object>
-
enabled
public void enabled()Description copied from class:AbstractModuleDescriptorEnables the descriptor by loading the module class. Classes overriding this method MUST call super.enabled() before their own enabling code.- Specified by:
enabledin interfaceStateAware- Overrides:
enabledin classAbstractModuleDescriptor<Object>
-
disabled
public void disabled()Description copied from class:AbstractModuleDescriptorDisables the module descriptor. Classes overriding this method MUST call super.disabled() after their own disabling code.- Specified by:
disabledin interfaceStateAware- Overrides:
disabledin classAbstractModuleDescriptor<Object>
-