batch library

Classes

ArgParser
A class for taking a list of raw command line arguments and parsing out options and flags from them.
ArgResults
The results of parsing a series of command line arguments using ArgParser.parse.
BatchApplication
ConsoleLogOutput
Default implementation of LogOutput.
CronParser
The convenient parser for Cron schedule.
DefaultLogPrinter
The default printer.
Execution
ExecutionContext
This class represents a context for managing metadata that is accumulated as a batch application is executed.
FileLogOutput
InputLogEvent
The class that represents log.
Job
This object represents the largest unit of events in the workflow.
LogColor
LogConfiguration
LogFilter
MultiLogOutput
Option
A command-line option.
OptionType
What kinds of values an option accepts.
OutputLogEvent
ParallelStep
It represents the step responsible for parallel processing.
ParallelTask<T extends Task<T>>
RetryConfiguration
ScheduledJob
This object represents the largest unit of events in the workflow.
ScheduledJobBuilder
SkipConfiguration
Step
It represents the step responsible for the sequential process.
Task<T extends Task<T>>
This abstract class represents the smallest unit of processing that is included in the steps when a job is executed.

Enums

ConsoleColor
The convenient enum of 256 colors for Xterm prompt (console). The color code is equal to the order
ExecutionType
LogLevel
The enum class that represents log level.

Properties

log → Logger
The logger
final

Functions

runWorkflow({List<String> args = const [], FutureOr<void> argsConfigBuilder(ArgParser parser)?, FutureOr<Map<String, dynamic>> onLoadArgs(ArgResults args)?, required List<ScheduledJobBuilder> jobs, Map<String, dynamic> sharedParameters = const {}, LogConfiguration? logConfig}) → void
The main entry point of the batch application.

Exceptions / Errors

ArgParserException
An exception thrown by ArgParser.