Package com.atlassian.bamboo.task
Interface TaskIdentifier
-
- All Superinterfaces:
PluginKeyProvider
- All Known Subinterfaces:
CommonTaskContext,DecoratedTaskDefinition<T>,DeploymentTaskContext,InternalTaskContext,RuntimeTaskDefinition,TaskContext,TaskDefinition
- All Known Implementing Classes:
CommonTaskContextImpl,DecoratedTaskDefinitionImpl,DeploymentTaskContextImpl,ImmutableTaskDefinition,RuntimeTaskDefinitionImpl,TaskContextImpl,TaskDefinitionImpl
@PublicApi public interface TaskIdentifier extends PluginKeyProvider
This interface defines a configured instance of aTaskType- Since:
- 3.1
- See Also:
TaskType,TaskContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetId()@NotNull StringgetPluginKey()@Nullable StringgetUserDescription()booleanisEnabled()booleanisFinalising()
-
-
-
Method Detail
-
getId
long getId()
- Returns:
- the id of this configuration. Unique within the given context (e.g.
Job
-
getPluginKey
@NotNull @NotNull String getPluginKey()
- Specified by:
getPluginKeyin interfacePluginKeyProvider- Returns:
- Complete key of the task type plugin module
-
getUserDescription
@Nullable @Nullable String getUserDescription()
- Returns:
- the description of the task as defined by the user
-
isEnabled
boolean isEnabled()
- Returns:
- whether the task is enabled or disabled
-
isFinalising
boolean isFinalising()
- Returns:
- true if the task should be run in finalisation phase
-
-