Runnable class
Runnable describes instructions for executing a specific script or container as part of a Task.
Constructors
-
Runnable.new({bool? alwaysRun, bool? background, Barrier? barrier, Container? container, String? displayName, Environment? environment, bool? ignoreExitStatus, Map<
String, String> ? labels, Script? script, String? timeout}) - Runnable.fromJson(Map json_)
Properties
- alwaysRun ↔ bool?
-
By default, after a Runnable fails, no further Runnable are executed.
getter/setter pair
- background ↔ bool?
-
Normally, a runnable that doesn't exit causes its task to fail.
getter/setter pair
- barrier ↔ Barrier?
-
Barrier runnable.
getter/setter pair
- container ↔ Container?
-
Container runnable.
getter/setter pair
- displayName ↔ String?
-
DisplayName is an optional field that can be provided by the caller.
getter/setter pair
- environment ↔ Environment?
-
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreExitStatus ↔ bool?
-
Normally, a runnable that returns a non-zero exit status fails and causes
the task to fail.
getter/setter pair
-
labels
↔ Map<
String, String> ? -
Labels for this Runnable.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- script ↔ Script?
-
Script runnable.
getter/setter pair
- timeout ↔ String?
-
Timeout for this Runnable.
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