Interface TaskState

All Superinterfaces:
Serializable

public interface TaskState extends Serializable
Task state.
  • Method Details

    • id

      UUID id()
      Returns task ID.
      Returns:
      Task ID.
    • status

      TaskStatus status()
      Returns task status.
      Returns:
      Task status.
    • createTime

      Instant createTime()
      Returns task create time.
      Returns:
      Task create time.
    • startTime

      @Nullable @Nullable Instant startTime()
      Returns task start time. null if the task has not started yet.
      Returns:
      Task start time. null if the task has not started yet.
    • finishTime

      @Nullable @Nullable Instant finishTime()
      Returns task finish time. null if the task has not finished yet.
      Returns:
      Task finish time. null if the task has not finished yet.