public class TaskGraphDefinition extends Object
Definition of a task-graph that can be scheduled
See http://schemas.taskcluster.net/scheduler/v1/task-graph.json#
| Modifier and Type | Class and Description |
|---|---|
class |
TaskGraphDefinition.MetaData |
class |
TaskGraphDefinition.TaskNode |
| Modifier and Type | Field and Description |
|---|---|
TaskGraphDefinition.MetaData |
metadata
Required task metadata
|
String[] |
routes
List of task-graph specific routes, AMQP messages will be CC’ed to these routes prefixed by
'route.'. |
String[] |
scopes
List of scopes (or scope-patterns) that tasks of the task-graph is authorized to use.
|
Object |
tags
Arbitrary key-value tags (only strings limited to 4k)
|
TaskGraphDefinition.TaskNode[] |
tasks
List of nodes in the task-graph, each featuring a task definition and scheduling preferences, such as number of reruns to attempt.
|
| Constructor and Description |
|---|
TaskGraphDefinition() |
public TaskGraphDefinition.MetaData metadata
Required task metadata
See http://schemas.taskcluster.net/scheduler/v1/task-graph.json#/properties/metadata
public String[] routes
List of task-graph specific routes, AMQP messages will be CC’ed to these routes prefixed by 'route.'.
Default: []
See http://schemas.taskcluster.net/scheduler/v1/task-graph.json#/properties/routes
public String[] scopes
List of scopes (or scope-patterns) that tasks of the task-graph is authorized to use.
Default: []
See http://schemas.taskcluster.net/scheduler/v1/task-graph.json#/properties/scopes
public Object tags
Arbitrary key-value tags (only strings limited to 4k)
Default: map[]
See http://schemas.taskcluster.net/scheduler/v1/task-graph.json#/properties/tags
public TaskGraphDefinition.TaskNode[] tasks
List of nodes in the task-graph, each featuring a task definition and scheduling preferences, such as number of reruns to attempt.
See http://schemas.taskcluster.net/scheduler/v1/task-graph.json#/properties/tasks
Copyright © 2014–2017 Mozilla. All rights reserved.