public class TaskGraphDefinition1.Tasks extends Object
List of nodes in the task-graph, each featuring a task definition and scheduling preferences, such as number of reruns to attempt.
| Modifier and Type | Field and Description |
|---|---|
String[] |
requires
List of required
taskIds |
int |
reruns
Number of times to rerun the task if it completed unsuccessfully.
|
TaskDefinitionRequest |
task |
String |
taskId
Task identifier (
taskId) for the task when submitted to the queue, also used in requires below. |
| Constructor and Description |
|---|
Tasks() |
public String[] requires
List of required taskIds
public int reruns
Number of times to rerun the task if it completed unsuccessfully. Note, this does not capture retries due to infrastructure issues.
public TaskDefinitionRequest task
public String taskId
Task identifier (taskId) for the task when submitted to the queue, also used in requires below. This must be formatted as a slugid that is a uuid encoded in url-safe base64 following RFC 4648 sec. 5), but without == padding.
Copyright © 2014–2015 Mozilla. All rights reserved.