com.atlassian.bamboo.task
Interface TaskProcessCommandDecoratorModuleDescriptor

All Superinterfaces:
com.atlassian.plugin.ModuleDescriptor<TaskProcessCommandDecorator>, com.atlassian.plugin.Resourced
All Known Implementing Classes:
TaskProcessCommandDecoratorModuleDescriptorImpl

public interface TaskProcessCommandDecoratorModuleDescriptor
extends com.atlassian.plugin.ModuleDescriptor<TaskProcessCommandDecorator>

Since:
3.1

Method Summary
 java.util.Set<java.lang.String> getDecorableTaskTypeKeys()
          Return set of fully qualified keys of task types that this decorator can decorate
 boolean isApplicableToTaskType(java.lang.String pluginKey)
          Check if task type identified by pluginKey can be decorated by this decorator
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, init, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 

Method Detail

getDecorableTaskTypeKeys

@NotNull
java.util.Set<java.lang.String> getDecorableTaskTypeKeys()
Return set of fully qualified keys of task types that this decorator can decorate

Returns:
set of strings

isApplicableToTaskType

boolean isApplicableToTaskType(@NotNull
                               java.lang.String pluginKey)
Check if task type identified by pluginKey can be decorated by this decorator

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


Copyright © 2011 Atlassian. All Rights Reserved.