TaskInfo

public abstract class TaskInfo extends Object

Describes a task that the driver will perform.

Nested Class Summary

class TaskInfo.Builder Builder class for TaskInfo  

Public Constructor Summary

Public Method Summary

static TaskInfo.Builder
builder()
Returns a new default Builder instance.
abstract long
getTaskDurationSeconds()
Returns the time required to perform the task.
abstract String
getTaskId()
Returns the unique identifier of the task.
abstract TaskInfo.Builder
toBuilder()
Returns a new Builder instance set with current task ID and duration.

Inherited Method Summary

Public Constructors

public TaskInfo ()

Public Methods

public static TaskInfo.Builder builder ()

Returns a new default Builder instance.

public abstract long getTaskDurationSeconds ()

Returns the time required to perform the task.

public abstract String getTaskId ()

Returns the unique identifier of the task.

public abstract TaskInfo.Builder toBuilder ()

Returns a new Builder instance set with current task ID and duration.