$Command class

Used by:

  • containeranalysis:v1 : Command
  • ondemandscanning:v1 : Command

Constructors

$Command({List<String>? args, String? dir, List<String>? env, String? id, String? name, List<String>? waitFor})
$Command.fromJson(Map json_)

Properties

args List<String>?
Command-line arguments used when executing this command.
getter/setter pair
dir String?
Working directory (relative to project source root) used when running this command.
getter/setter pair
env List<String>?
Environment variables set before running this command.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
getter/setter pair
name String?
Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
waitFor List<String>?
The ID(s) of the command(s) that this command depends on.
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