public class TaskClaimResponse extends Object
Response to a successful task claim
See https://schemas.taskcluster.net/queue/v1/task-claim-response.json#
Modifier and Type | Field and Description |
---|---|
TaskCredentials |
credentials
|
int |
runId
run-id assigned to this run of the taskMininum: 0 Maximum: 1000See https://schemas.taskcluster.net/queue/v1/task-claim-response.json#/properties/runId |
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 TaskCredentials credentials
public int runId
run-id
assigned to this run of the task
Mininum: 0 Maximum: 1000
See https://schemas.taskcluster.net/queue/v1/task-claim-response.json#/properties/runId
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.
See https://schemas.taskcluster.net/queue/v1/task-claim-response.json#/properties/takenUntil
public TaskDefinitionResponse task
public String workerGroup
Identifier for the worker-group within which this run started.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See https://schemas.taskcluster.net/queue/v1/task-claim-response.json#/properties/workerGroup
public String workerId
Identifier for the worker executing this run.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See https://schemas.taskcluster.net/queue/v1/task-claim-response.json#/properties/workerId
Copyright © 2014–2018 Mozilla. All rights reserved.