TaskGroup class

A TaskGroup defines one or more Tasks that all share the same TaskSpec.

Constructors

TaskGroup({String? name, String? parallelism, bool? permissiveSsh, bool? requireHostsFile, bool? runAsNonRoot, String? schedulingPolicy, String? taskCount, String? taskCountPerNode, List<Environment>? taskEnvironments, TaskSpec? taskSpec})
TaskGroup.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
TaskGroup name.
getter/setter pair
parallelism String?
Max number of tasks that can run in parallel.
getter/setter pair
permissiveSsh bool?
When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
getter/setter pair
requireHostsFile bool?
When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file.
getter/setter pair
runAsNonRoot bool?
If not set or set to false, Batch uses the root user to execute runnables.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedulingPolicy String?
Scheduling policy for Tasks in the TaskGroup.
getter/setter pair
taskCount String?
Number of Tasks in the TaskGroup.
getter/setter pair
taskCountPerNode String?
Max number of tasks that can be run on a VM at the same time.
getter/setter pair
taskEnvironments List<Environment>?
An array of environment variable mappings, which are passed to Tasks with matching indices.
getter/setter pair
taskSpec TaskSpec?
Tasks in the group share the same task spec.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited