public class Status extends Object
Modifier and Type | Class and Description |
---|---|
class |
Status.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
Unique identifier for the provisioner that this task must be scheduled onSyntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22See https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/properties/provisionerId
|
int |
retriesLeft
Number of retries left for the task in case of infrastructure issuesMininum: 0 Maximum: 999See https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/properties/retriesLeft
|
Status.RunInformation[] |
runs
List of runs, ordered so that index
i has runId == i See https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/properties/runs |
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 provisionerSyntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22See https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/properties/workerType
|
Constructor and Description |
---|
Status() |
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/hooks/v1/task-status.json#/properties/status/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/hooks/v1/task-status.json#/properties/status/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
public int retriesLeft
Number of retries left for the task in case of infrastructure issues
Mininum: 0 Maximum: 999
See https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/properties/retriesLeft
public Status.RunInformation[] runs
List of runs, ordered so that index i
has runId == i
See https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/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 https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/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 https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/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 https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/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 https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/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 https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/properties/workerType
Copyright © 2014–2018 Mozilla. All rights reserved.