Package com.enonic.xp.task

## Class TaskInfo.Builder

- java.lang.Object
- - com.enonic.xp.task.TaskInfo.Builder

- Enclosing class:
    TaskInfo

      public static final class TaskInfo.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `TaskInfo.Builder` | `application​(ApplicationKey application)` |
    `TaskInfo` | `build()` |
    `TaskInfo.Builder` | `description​(String description)` |
    `TaskInfo.Builder` | `id​(TaskId id)` |
    `TaskInfo.Builder` | `name​(String name)` |
    `TaskInfo.Builder` | `node​(ClusterNodeId location)` |
    `TaskInfo.Builder` | `progress​(TaskProgress progress)` |
    `TaskInfo.Builder` | `startTime​(Instant startTime)` |
    `TaskInfo.Builder` | `state​(TaskState state)` |
    `TaskInfo.Builder` | `user​(PrincipalKey user)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### id

          public TaskInfo.Builder id​(TaskId id)

    - #### state

          public TaskInfo.Builder state​(TaskState state)

    - #### description

          public TaskInfo.Builder description​(String description)

    - #### progress

          public TaskInfo.Builder progress​(TaskProgress progress)

    - #### name

          public TaskInfo.Builder name​(String name)

    - #### application

          public TaskInfo.Builder application​(ApplicationKey application)

    - #### user

          public TaskInfo.Builder user​(PrincipalKey user)

    - #### startTime

          public TaskInfo.Builder startTime​(Instant startTime)

    - #### node

          public TaskInfo.Builder node​(ClusterNodeId location)

    - #### build

          public TaskInfo build()