Package com.atlassian.bamboo.task
Interface TaskProcessCommandDecoratorModuleDescriptor
-
- All Superinterfaces:
com.atlassian.plugin.ModuleDescriptor<TaskProcessCommandDecorator>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
- All Known Implementing Classes:
TaskProcessCommandDecoratorModuleDescriptorImpl
@Internal public interface TaskProcessCommandDecoratorModuleDescriptor extends com.atlassian.plugin.ModuleDescriptor<TaskProcessCommandDecorator>
- Since:
- 3.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Set<String>
getDecorableTaskTypeKeys()
Return set of fully qualified keys of task types that this decorator can decorateboolean
isApplicableToTaskType(@NotNull String testedPluginModuleKey)
Check if task type identified by pluginKey can be decorated by this decorator-
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
-
-
-
-
Method Detail
-
getDecorableTaskTypeKeys
@NotNull @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 @NotNull String testedPluginModuleKey)
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
-
-