public final class TriggerModuleDescriptorImpl extends AbstractBambooModuleDescriptor<TriggerActivator> implements TriggerModuleDescriptor, Serializable
| Constructor and Description |
|---|
TriggerModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTrigger(Triggerable triggerable) |
boolean |
canTriggerType(Class<? extends Triggerable> triggerableType) |
void |
disabled() |
void |
enabled() |
String |
getIconUrl() |
TriggerConfigurator |
getTriggerConfigurator()
Retrieves the plugin class responsible for handling user configuration of this plugin.
|
TriggerDefinitionExporter |
getTriggerExporter()
Retrieves the plugin class responsible for exporting of user configuration of this plugin.
|
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.
|
boolean |
requiresChangeDetectionOnCompletion() |
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, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokengetResourceDescriptor, getResourceDescriptors, getResourceLocationgetNamepublic TriggerModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.ModuleDescriptor<TriggerActivator>init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<TriggerActivator>com.atlassian.plugin.PluginParseExceptionprotected 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<TriggerActivator>true if modules of this descriptor are mutablepublic void disabled()
disabled in interface com.atlassian.plugin.StateAwaredisabled in class AbstractBambooModuleDescriptor<TriggerActivator>public void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<TriggerActivator>@Nullable public String getIconUrl()
getIconUrl in interface TriggerModuleDescriptorpublic boolean canTrigger(@NotNull
Triggerable triggerable)
canTrigger in interface TriggerModuleDescriptorpublic boolean canTriggerType(@NotNull
Class<? extends Triggerable> triggerableType)
canTriggerType in interface TriggerModuleDescriptorpublic boolean requiresChangeDetectionOnCompletion()
requiresChangeDetectionOnCompletion in interface TriggerModuleDescriptor@Nullable public TriggerConfigurator getTriggerConfigurator()
TriggerModuleDescriptorgetTriggerConfigurator in interface TriggerModuleDescriptorTriggerConfigurator for this ModuleDescriptor@Nullable public TriggerDefinitionExporter getTriggerExporter()
TriggerModuleDescriptorgetTriggerExporter in interface TriggerModuleDescriptorTriggerDefinitionExporter for this ModuleDescriptorCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.