com.atlassian.bamboo.plugin.descriptor
Class TaskProcessCommandDecoratorModuleDescriptorImpl

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<TaskProcessCommandDecorator>
          extended by com.atlassian.bamboo.plugin.descriptor.TaskProcessCommandDecoratorModuleDescriptorImpl
All Implemented Interfaces:
TaskProcessCommandDecoratorModuleDescriptor, com.atlassian.plugin.ModuleDescriptor<TaskProcessCommandDecorator>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, java.io.Serializable

public final class TaskProcessCommandDecoratorModuleDescriptorImpl
extends AbstractBambooModuleDescriptor<TaskProcessCommandDecorator>
implements TaskProcessCommandDecoratorModuleDescriptor, java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton
 
Constructor Summary
TaskProcessCommandDecoratorModuleDescriptorImpl()
           
TaskProcessCommandDecoratorModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 java.util.Set<java.lang.String> getDecorableTaskTypeKeys()
          Return set of fully qualified keys of task types that this decorator can decorate
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 boolean isApplicableToTaskType(java.lang.String pluginKey)
          Check if task type identified by pluginKey can be decorated by this decorator
 
Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, isMutable, postInit, preInit
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, 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, 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
 

Constructor Detail

TaskProcessCommandDecoratorModuleDescriptorImpl

public TaskProcessCommandDecoratorModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)

TaskProcessCommandDecoratorModuleDescriptorImpl

public TaskProcessCommandDecoratorModuleDescriptorImpl()
Method Detail

init

public void init(@NotNull
                 com.atlassian.plugin.Plugin plugin,
                 @NotNull
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor<TaskProcessCommandDecorator>
Overrides:
init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<TaskProcessCommandDecorator>
Throws:
com.atlassian.plugin.PluginParseException

getDecorableTaskTypeKeys

@NotNull
public java.util.Set<java.lang.String> getDecorableTaskTypeKeys()
Description copied from interface: TaskProcessCommandDecoratorModuleDescriptor
Return set of fully qualified keys of task types that this decorator can decorate

Specified by:
getDecorableTaskTypeKeys in interface TaskProcessCommandDecoratorModuleDescriptor
Returns:
set of strings

isApplicableToTaskType

public boolean isApplicableToTaskType(@NotNull
                                      java.lang.String pluginKey)
Description copied from interface: TaskProcessCommandDecoratorModuleDescriptor
Check if task type identified by pluginKey can be decorated by this decorator

Specified by:
isApplicableToTaskType in interface TaskProcessCommandDecoratorModuleDescriptor
Parameters:
pluginKey - {#link TaskType}'s plugin key
Returns:
true if decorator is applicable to the given task, false otherwise


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.