|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<TriggerActivator>
com.atlassian.bamboo.plugin.descriptor.TriggerModuleDescriptorImpl
public final class TriggerModuleDescriptorImpl
| Field Summary |
|---|
| Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
| Constructor Summary | |
|---|---|
TriggerModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
|
|
| Method Summary | |
|---|---|
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. |
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. |
| Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor |
|---|
getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, postInit, preInit |
| Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.atlassian.plugin.ModuleDescriptor |
|---|
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion |
| Methods inherited from interface com.atlassian.plugin.Resourced |
|---|
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation |
| Methods inherited from interface com.atlassian.bamboo.utils.NameProvider |
|---|
getName |
| Constructor Detail |
|---|
public TriggerModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
| Method Detail |
|---|
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 TriggerModuleDescriptor
public boolean canTrigger(@NotNull
Triggerable triggerable)
canTrigger in interface TriggerModuleDescriptor
public boolean canTriggerType(@NotNull
Class<? extends Triggerable> triggerableType)
canTriggerType in interface TriggerModuleDescriptor@Nullable public TriggerConfigurator getTriggerConfigurator()
TriggerModuleDescriptor
getTriggerConfigurator in interface TriggerModuleDescriptorTriggerConfigurator for this TaskType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||