public class TaskStatusStructure extends Object
A representation of task status as known by the queue
See https://schemas.taskcluster.net/queue/v1/task-status.json#
Modifier and Type | Class and Description |
---|---|
class |
TaskStatusStructure.RunInformation |
Modifier and Type | Field and Description |
---|---|
Date |
deadline
Deadline of the task,
pending and running runs are resolved as exception if not resolved by other means before the deadline. |
Date |
expires
Task expiration, time at which task definition and status is deleted.
|
String |
provisionerId
|
int |
retriesLeft
Number of retries left for the task in case of infrastructure issuesMininum: 0 Maximum: 999See https://schemas.taskcluster.net/queue/v1/task-status.json#/properties/retriesLeft
|
TaskStatusStructure.RunInformation[] |
runs
List of runs, ordered so that index
i has runId == i See https://schemas.taskcluster.net/queue/v1/task-status.json#/properties/runs |
String |
schedulerId
|
String |
state
State of this task.
|
String |
taskGroupId
|
String |
taskId
Unique task identifier, this is UUID encoded as URL-safe base64 and stripped of
= padding. |
String |
workerType
|
Constructor and Description |
---|
TaskStatusStructure() |
public Date deadline
Deadline of the task, pending
and running
runs are resolved as exception if not resolved by other means before the deadline. Note, deadline cannot be more than 5 days into the future
See https://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 https://schemas.taskcluster.net/queue/v1/task-status.json#/properties/expires
public String provisionerId
public int retriesLeft
Number of retries left for the task in case of infrastructure issues
Mininum: 0 Maximum: 999
See https://schemas.taskcluster.net/queue/v1/task-status.json#/properties/retriesLeft
public TaskStatusStructure.RunInformation[] runs
List of runs, ordered so that index i
has runId == i
See https://schemas.taskcluster.net/queue/v1/task-status.json#/properties/runs
public String 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 https://schemas.taskcluster.net/queue/v1/task-status.json#/properties/state
public String 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 https://schemas.taskcluster.net/queue/v1/task-status.json#/properties/taskId
public String workerType
Copyright © 2014–2018 Mozilla. All rights reserved.