public class TaskStatusStructure.Status.RunInformation extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
reasonCreated
Reason for the creation of this run, more reasons may be added in the future.
|
String |
reasonResolved
Reason that run was resolved, this is mainly useful for runs resolved as
exception. |
Date |
resolved
Date-time at which this run was resolved, ie. when the run changed state from
running to either completed, failed or exception. |
int |
runId
Id of this task run,
run-ids always starts from 0Mininum: 0 Maximum: 1000See https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/properties/runs/items/properties/runId |
Date |
scheduled
Date-time at which this run was scheduled, ie. when the run was created in state
pending. |
Date |
started
Date-time at which this run was claimed, ie. when the run changed state from
pending to running. |
String |
state
State of this runPossible values: * “pending” * “running” * “completed” * “failed” * “exception”See https://schemas.taskcluster.net/hooks/v1/task-status.json#/properties/status/properties/runs/items/properties/state
|
Date |
takenUntil
Time at which the run expires and is resolved as
failed, if the run isn’t reclaimed. |
String |
workerGroup
Identifier for group that worker who executes this run is a part of, this identifier is mainly used for efficient routing.
|
String |
workerId
Identifier for worker evaluating this run within given
workerGroup. |
| Constructor and Description |
|---|
RunInformation() |
public String reasonCreated
Reason for the creation of this run, more reasons may be added in the future.
Possible values: * “scheduled” * “retry” * “task-retry” * “rerun” * “exception”
public String reasonResolved
Reason that run was resolved, this is mainly useful for runs resolved as exception. Note, more reasons may be added in the future, also this property is only available after the run is resolved.
Possible values: * “completed” * “failed” * “deadline-exceeded” * “canceled” * “superseded” * “claim-expired” * “worker-shutdown” * “malformed-payload” * “resource-unavailable” * “internal-error” * “intermittent-task”
public Date resolved
Date-time at which this run was resolved, ie. when the run changed state from running to either completed, failed or exception. This property is only present after the run as been resolved.
public int runId
Id of this task run, run-ids always starts from 0
Mininum: 0 Maximum: 1000
public Date scheduled
Date-time at which this run was scheduled, ie. when the run was created in state pending.
public Date started
Date-time at which this run was claimed, ie. when the run changed state from pending to running. This property is only present after the run has been claimed.
public String state
State of this run
Possible values: * “pending” * “running” * “completed” * “failed” * “exception”
public Date takenUntil
Time at which the run expires and is resolved as failed, if the run isn’t reclaimed. Note, only present after the run has been claimed.
public String workerGroup
Identifier for group that worker who executes this run is a part of, this identifier is mainly used for efficient routing. Note, this property is only present after the run is claimed.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
public String workerId
Identifier for worker evaluating this run within given workerGroup. Note, this property is only available after the run has been claimed.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
Copyright © 2014–2018 Mozilla. All rights reserved.