JobArguments class abstract

Abstract base class for job arguments.

Provides common functionality for all job argument types including variable processing, command-line argument building, and logging. This class serves as the foundation for both build and publish arguments.

Key features:

  • Variable substitution in arguments
  • Colorized logging with verbosity control
  • JSON serialization support
  • Command-line argument generation
Implementers

Constructors

JobArguments.new(Variables variables)
Creates a new JobArguments instance.

Properties

argumentBuilder List<String>
Raw list of command-line arguments before variable processing.
getter/setter pair
arguments Future<List<String>>
Processes variables in arguments and returns the final command-line arguments.
no setter
hashCode int
The hash code for this object.
no setterinherited
logger ColorizeLogger
Logger instance for outputting colored messages.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables Variables
Variable processor for substituting placeholders in arguments.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printJob() Future
Prints job configuration information to the console.
toJson() Map<String, dynamic>
Converts the job arguments to a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

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