public class TaskClaimResponse extends Object
Response to a successful task claim
See http://schemas.taskcluster.net/queue/v1/task-claim-response.json#
| Modifier and Type | Class and Description |
|---|---|
class |
TaskClaimResponse.Credentials
Temporary credentials granting
task.scopes and the scope: queue:claim-task:<taskId>/<runId> which allows the worker to reclaim the task, upload artifacts and report task resolution. |
| Modifier and Type | Field and Description |
|---|---|
TaskClaimResponse.Credentials |
credentials |
int |
runId
run-id assigned to this run of the task |
TaskStatusStructure |
status |
Date |
takenUntil
Time at which the run expires and is resolved as
exception, with reason claim-expired if the run haven’t been reclaimed. |
TaskDefinitionResponse |
task |
String |
workerGroup
Identifier for the worker-group within which this run started.
|
String |
workerId
Identifier for the worker executing this run.
|
| Constructor and Description |
|---|
TaskClaimResponse() |
public TaskClaimResponse.Credentials credentials
public int runId
run-id assigned to this run of the task
public TaskStatusStructure status
public Date takenUntil
Time at which the run expires and is resolved as exception, with reason claim-expired if the run haven’t been reclaimed.
public TaskDefinitionResponse task
public String workerGroup
Identifier for the worker-group within which this run started.
public String workerId
Identifier for the worker executing this run.
Copyright © 2014–2016 Mozilla. All rights reserved.