Package com.atlassian.bamboo.task
Interface TaskResult
-
- All Superinterfaces:
Serializable
@PublicApi public interface TaskResult extends Serializable
Represents the result of aTaskType
execution. Please useTaskResultBuilder
- Since:
- 3.1
- See Also:
TaskResultBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull Map<String,String>
getResultData()
@NotNull TaskIdentifier
getTaskIdentifier()
@NotNull TaskState
getTaskState()
default boolean
shouldStopExecution()
-
-
-
Method Detail
-
getTaskState
@NotNull @NotNull TaskState getTaskState()
- Returns:
- taskState of the
TaskType
execution
-
getResultData
@NotNull @NotNull Map<String,String> getResultData()
- Returns:
- resultData from the
TaskType
execution
-
getTaskIdentifier
@NotNull @NotNull TaskIdentifier getTaskIdentifier()
- Returns:
- taskDefinition that was used by the
TaskType
-
shouldStopExecution
default boolean shouldStopExecution()
- Returns:
- true if build execution should be stopped
-
-