Package com.atlassian.bamboo.task
Interface TaskResult
-
- All Superinterfaces:
Serializable
@PublicApi public interface TaskResult extends Serializable
Represents the result of aTaskTypeexecution. 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 TaskIdentifiergetTaskIdentifier()@NotNull TaskStategetTaskState()default booleanshouldStopExecution()
-
-
-
Method Detail
-
getTaskState
@NotNull @NotNull TaskState getTaskState()
- Returns:
- taskState of the
TaskTypeexecution
-
getResultData
@NotNull @NotNull Map<String,String> getResultData()
- Returns:
- resultData from the
TaskTypeexecution
-
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
-
-