AgentTaskSpec class

AgentTaskSpec is the user's TaskSpec representation between Agent and CLH communication.

Constructors

AgentTaskSpec({AgentEnvironment? environment, String? maxRunDuration, List<AgentTaskRunnable>? runnables, AgentTaskUserAccount? userAccount})
AgentTaskSpec.fromJson(Map json_)

Properties

environment AgentEnvironment?
Environment variables to set before running the Task.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxRunDuration String?
Maximum duration the task should run.
getter/setter pair
runnables List<AgentTaskRunnable>?
AgentTaskRunnable is runanbles that will be executed on the agent.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAccount AgentTaskUserAccount?
User account on the VM to run the runnables in the agentTaskSpec.
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