This repository was archived by the owner on Aug 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
src/main/java/org/mozilla/taskcluster/client/queue Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -7834,6 +7834,32 @@ Properties
7834
7834
Items
7835
7835
Additional Properties = 'false'
7836
7836
Properties
7837
+ Property 'disabled' =
7838
+ Description = 'Disabling a worker allows the machine to remain alive but not accept jobs.
7839
+ Enabling a worker on the other hand will resume accepting jobs.
7840
+ '
7841
+ Title = 'Worker Disabled'
7842
+ Type = 'boolean'
7843
+ TypeName = 'WorkerDisabled'
7844
+ SourceURL = 'http://schemas.taskcluster.net/queue/v1/list-workers-response.json#/properties/workers/items/properties/disabled'
7845
+ Property 'firstClaim' =
7846
+ Description = 'Date of the first time this worker claimed a task.
7847
+ '
7848
+ Format = 'date-time'
7849
+ Title = 'First task claimed'
7850
+ Type = 'string'
7851
+ TypeName = 'FirstTaskClaimed'
7852
+ SourceURL = 'http://schemas.taskcluster.net/queue/v1/list-workers-response.json#/properties/workers/items/properties/firstClaim'
7853
+ Property 'latestTask' =
7854
+ Description = 'Unique task identifier, this is UUID encoded as
7855
+ [URL-safe base64](http://tools.ietf.org/html/rfc4648#section-5) and
7856
+ stripped of `=` padding.
7857
+ '
7858
+ Pattern = '^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$'
7859
+ Title = 'Most Recent Claimed Task Identifier'
7860
+ Type = 'string'
7861
+ TypeName = 'MostRecentClaimedTaskIdentifier'
7862
+ SourceURL = 'http://schemas.taskcluster.net/queue/v1/list-workers-response.json#/properties/workers/items/properties/latestTask'
7837
7863
Property 'workerGroup' =
7838
7864
Description = 'Identifier for the worker group containing this worker.
7839
7865
'
Original file line number Diff line number Diff line change 1
1
package org .mozilla .taskcluster .client .queue ;
2
2
3
+ import java .util .Date ;
4
+
3
5
/**
4
6
* Response from a `listWorkers` request.
5
7
*
@@ -22,6 +24,32 @@ public class ListWorkersResponse {
22
24
23
25
public class WorkersEntry {
24
26
27
+ /**
28
+ * Disabling a worker allows the machine to remain alive but not accept jobs.
29
+ * Enabling a worker on the other hand will resume accepting jobs.
30
+ *
31
+ * See http://schemas.taskcluster.net/queue/v1/list-workers-response.json#/properties/workers/items/properties/disabled
32
+ */
33
+ public boolean disabled ;
34
+
35
+ /**
36
+ * Date of the first time this worker claimed a task.
37
+ *
38
+ * See http://schemas.taskcluster.net/queue/v1/list-workers-response.json#/properties/workers/items/properties/firstClaim
39
+ */
40
+ public Date firstClaim ;
41
+
42
+ /**
43
+ * Unique task identifier, this is UUID encoded as
44
+ * [URL-safe base64](http://tools.ietf.org/html/rfc4648#section-5) and
45
+ * stripped of `=` padding.
46
+ *
47
+ * Syntax: ^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$
48
+ *
49
+ * See http://schemas.taskcluster.net/queue/v1/list-workers-response.json#/properties/workers/items/properties/latestTask
50
+ */
51
+ public String latestTask ;
52
+
25
53
/**
26
54
* Identifier for the worker group containing this worker.
27
55
*
You can’t perform that action at this time.
0 commit comments