public class Task extends Object
Representation of a task.
See https://schemas.taskcluster.net/index/v1/list-tasks-response.json#/properties/tasks/items
Modifier and Type | Field and Description |
---|---|
Object |
data
Data that was reported with the task.
|
Date |
expires
Date at which this entry expires from the task index.
|
String |
namespace
Index path of the task.
|
int |
rank
If multiple tasks are indexed with the same
namespace the task with the highest rank will be stored and returned in later requests. |
String |
taskId
Unique task identifier for the task currently indexed at
namespace . |
Constructor and Description |
---|
Task() |
public Object data
Data that was reported with the task. This is an arbitrary JSON object.
public Date expires
Date at which this entry expires from the task index.
public String namespace
Index path of the task.
Max length: 255
public int rank
If multiple tasks are indexed with the same namespace
the task with the highest rank
will be stored and returned in later requests. If two tasks has the same rank
the latest task will be stored.
public String taskId
Unique task identifier for the task currently indexed at namespace
.
Syntax: ^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$
Copyright © 2014–2018 Mozilla. All rights reserved.