public class TaskStatusStructure extends Object
A representation of task status as known by the queue
See http://schemas.taskcluster.net/queue/v1/task-status.json#
| Modifier and Type | Class and Description |
|---|---|
class |
TaskStatusStructure.Runs
List of runs, ordered so that index
i has runId == i |
| Modifier and Type | Field and Description |
|---|---|
Date |
deadline
Deadline of the task,
pending and running runs are resolved as failed if not resolved by other means before the deadline. |
Date |
expires
Task expiration, time at which task definition and status is deleted.
|
String |
provisionerId
Unique identifier for the provisioner that this task must be scheduled on
|
int |
retriesLeft
Number of retries left for the task in case of infrastructure issues
|
TaskStatusStructure.Runs[] |
runs |
String |
schedulerId
Identifier for the scheduler that defined this task.
|
Object |
state
State of this task.
|
String |
taskGroupId
Identifier for a group of tasks scheduled together with this task, by scheduler identified by
schedulerId. |
String |
taskId
Unique task identifier, this is UUID encoded as URL-safe base64 and stripped of
= padding. |
String |
workerType
Identifier for worker type within the specified provisioner
|
| Constructor and Description |
|---|
TaskStatusStructure() |
public Date deadline
Deadline of the task, pending and running runs are resolved as failed if not resolved by other means before the deadline. Note, deadline cannot be more than5 days into the future
public Date expires
Task expiration, time at which task definition and status is deleted. Notice that all artifacts for the must have an expiration that is no later than this.
public String provisionerId
Unique identifier for the provisioner that this task must be scheduled on
public int retriesLeft
Number of retries left for the task in case of infrastructure issues
public TaskStatusStructure.Runs[] runs
public String schedulerId
Identifier for the scheduler that defined this task.
public Object state
State of this task. This is just an auxiliary property derived from state of latests run, or unscheduled if none.
public String taskGroupId
Identifier for a group of tasks scheduled together with this task, by scheduler identified by schedulerId. For tasks scheduled by the task-graph scheduler, this is the taskGraphId.
public String taskId
Unique task identifier, this is UUID encoded as URL-safe base64 and stripped of = padding.
public String workerType
Identifier for worker type within the specified provisioner
Copyright © 2014–2015 Mozilla. All rights reserved.