public class InsertTaskRequest extends Object
Representation of the index entry to insert.
See https://schemas.taskcluster.net/index/v1/insert-task-request.json#
Modifier and Type | Field and Description |
---|---|
Object |
data
This is an arbitrary JSON object.
|
Date |
expires
Date at which this entry expires from the task index.
|
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, this is UUID encoded as URL-safe base64 and stripped of
= padding. |
Constructor and Description |
---|
InsertTaskRequest() |
public Object data
This is an arbitrary JSON object. Feel free to put whatever data you want here, but do limit it, you’ll get errors if you store more than 32KB. So stay well, below that limit.
See https://schemas.taskcluster.net/index/v1/insert-task-request.json#/properties/data
public Date expires
Date at which this entry expires from the task index.
See https://schemas.taskcluster.net/index/v1/insert-task-request.json#/properties/expires
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.
See https://schemas.taskcluster.net/index/v1/insert-task-request.json#/properties/rank
public String taskId
Unique task identifier, this is UUID encoded as URL-safe base64 and stripped of =
padding.
Syntax: ^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$
See https://schemas.taskcluster.net/index/v1/insert-task-request.json#/properties/taskId
Copyright © 2014–2018 Mozilla. All rights reserved.