Class TriggerReasonModuleDescriptor
- java.lang.Object
-
- com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
-
- com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<TriggerReason>
-
- com.atlassian.bamboo.plugin.descriptor.TriggerReasonModuleDescriptor
-
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<TriggerReason>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
public class TriggerReasonModuleDescriptor extends AbstractBambooModuleDescriptor<TriggerReason>
-
-
Constructor Summary
Constructors Constructor Description TriggerReasonModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable String
getLongDescriptionTemplate()
@Nullable String
getLongDescriptionTextTemplate()
@Nullable String
getShortDescriptionTemplate()
@Nullable String
getShortDescriptionTextTemplate()
@Nullable TriggerReasonRenderer
getTriggerReasonRenderer()
void
init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
-
Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, isMutable, postInit, preInit
-
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
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, validate
-
-
-
-
Method Detail
-
init
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<TriggerReason>
- Overrides:
init
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<TriggerReason>
- Throws:
com.atlassian.plugin.PluginParseException
-
getTriggerReasonRenderer
@Nullable public @Nullable TriggerReasonRenderer getTriggerReasonRenderer()
- Returns:
- triggerReasonRenderer or null if one was not specified
-
getShortDescriptionTemplate
@Nullable public @Nullable String getShortDescriptionTemplate()
-
getLongDescriptionTemplate
@Nullable public @Nullable String getLongDescriptionTemplate()
-
getLongDescriptionTextTemplate
@Nullable public @Nullable String getLongDescriptionTextTemplate()
-
getShortDescriptionTextTemplate
@Nullable public @Nullable String getShortDescriptionTextTemplate()
-
-