Class TaskProcessCommandDecoratorModuleDescriptorImpl
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<TaskProcessCommandDecorator>
com.atlassian.bamboo.plugin.descriptor.TaskProcessCommandDecoratorModuleDescriptorImpl
- All Implemented Interfaces:
TaskProcessCommandDecoratorModuleDescriptor
,com.atlassian.plugin.ModuleDescriptor<TaskProcessCommandDecorator>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
,Serializable
public final class TaskProcessCommandDecoratorModuleDescriptorImpl
extends AbstractBambooModuleDescriptor<TaskProcessCommandDecorator>
implements TaskProcessCommandDecoratorModuleDescriptor, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
AbstractBambooModuleDescriptor.ClassNameSource, AbstractBambooModuleDescriptor.ModuleAvailability
-
Field Summary
Fields inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
CLASS
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
-
Constructor Summary
ConstructorDescriptionTaskProcessCommandDecoratorModuleDescriptorImpl
(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Modifier and TypeMethodDescriptionReturn set of fully qualified keys of task types that this decorator can decoratevoid
init
(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull com.atlassian.plugin.module.Element element) boolean
isApplicableToTaskType
(@NotNull String testedPluginModuleKey) Check if task type identified by pluginKey can be decorated by this decoratorMethods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, isMutable, postInit, preInit, prepareSubModuleConfiguration, prepareSubModuleConfiguration
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, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocation
Methods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Constructor Details
-
TaskProcessCommandDecoratorModuleDescriptorImpl
public TaskProcessCommandDecoratorModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
init
public void init(@NotNull @NotNull com.atlassian.plugin.Plugin plugin, @NotNull @NotNull com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<TaskProcessCommandDecorator>
- Overrides:
init
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<TaskProcessCommandDecorator>
- Throws:
com.atlassian.plugin.PluginParseException
-
getDecorableTaskTypeKeys
Description copied from interface:TaskProcessCommandDecoratorModuleDescriptor
Return set of fully qualified keys of task types that this decorator can decorate- Specified by:
getDecorableTaskTypeKeys
in interfaceTaskProcessCommandDecoratorModuleDescriptor
- Returns:
- set of strings
-
isApplicableToTaskType
Description copied from interface:TaskProcessCommandDecoratorModuleDescriptor
Check if task type identified by pluginKey can be decorated by this decorator- Specified by:
isApplicableToTaskType
in interfaceTaskProcessCommandDecoratorModuleDescriptor
- Returns:
- true if decorator is applicable to the given task, false otherwise
-