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.RunsEntry |
| 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.RunsEntry[] |
runs
List of runs, ordered so that index
i has runId == i |
String |
schedulerId
Identifier for the scheduler that defined this task.
|
String |
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 than 5 days into the future
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/deadline
public Date expires
Task expiration, time at which task definition and status is deleted. Notice that all artifacts for the task must have an expiration that is no later than this.
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/expires
public String provisionerId
Unique identifier for the provisioner that this task must be scheduled on
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/provisionerId
public int retriesLeft
Number of retries left for the task in case of infrastructure issues
Mininum: 0 Maximum: 999
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/retriesLeft
public TaskStatusStructure.RunsEntry[] runs
List of runs, ordered so that index i has runId == i
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/runs
public String schedulerId
Identifier for the scheduler that defined this task.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/schedulerId
public String state
State of this task. This is just an auxiliary property derived from state of latests run, or unscheduled if none.
Possible values: * “unscheduled” * “pending” * “running” * “completed” * “failed” * “exception”
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/state
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.
Syntax: ^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/taskGroupId
public String taskId
Unique task identifier, this is UUID encoded as URL-safe base64 and stripped of = padding.
Syntax: ^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/taskId
public String workerType
Identifier for worker type within the specified provisioner
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See http://schemas.taskcluster.net/queue/v1/task-status.json#/properties/workerType
Copyright © 2014–2016 Mozilla. All rights reserved.