com.atlassian.bamboo.task
Interface TaskProcessCommandDecoratorModuleDescriptor

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

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

Since:
3.1

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

Method Detail

getDecorableTaskTypeKeys

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

Returns:
set of strings

isApplicableToTaskType

boolean isApplicableToTaskType(@NotNull
                               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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.