Interface TaskResult

All Superinterfaces:
Serializable

@PublicApi public interface TaskResult extends Serializable
Represents the result of a TaskType execution. Please use TaskResultBuilder
Since:
3.1
See Also:
  • Method Details

    • 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