Job class abstract

The base class of job

Mixed-in types
Implementers

Constructors

Job({required BaseConfig baseConfig})
const
Job.byMap({required Context context, required int index, required Map map, required DateTime datetime})
Create a job by map.
factory

Properties

baseConfig BaseConfig
final
context Context
no setter
description String?
no setter
enabled bool
no setter
hashCode int
The hash code for this object.
no setterinherited
map Map
no setter
name String
no setter
outputPath String
no setter
overwrite bool
no setter
params Map
no setteroverride
proxy Proxy?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setter
typeEnum JobType
no setter

Methods

analyze() String?
baseConfigAnalyze() String
doDownload(Config config) Future<File>
getTempPath() String
handleAfterDownload(File asset) Future<void>
inherited
jobMap() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prettyJsonFofObj(Object obj) String
prettyJsonForString(String text) String
run(Config config) Future<void>
toJsonText([int indent = 0]) String
inherited
toMap() Map
override
toString() String
A string representation of this object.
inherited
toYamlText([int indent = 2]) String
inherited

Operators

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

Static Methods

examples(Context context) List<Job>