WorkItem class
WorkItem represents basic information about a WorkItem to be executed in the cloud.
Constructors
-
WorkItem({String? configuration, String? id, String? initialReportIndex, String? jobId, String? leaseExpireTime, MapTask? mapTask, List<
Package> ? packages, String? projectId, String? reportStatusInterval, SeqMapTask? seqMapTask, ShellTask? shellTask, SourceOperationRequest? sourceOperationTask, StreamingComputationTask? streamingComputationTask, StreamingConfigTask? streamingConfigTask, StreamingSetupTask? streamingSetupTask}) - WorkItem.fromJson(Map _json)
Properties
- configuration ↔ String?
-
Work item-specific configuration as an opaque blob.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
Identifies this WorkItem.
getter/setter pair
- initialReportIndex ↔ String?
-
The initial index to use when reporting the status of the WorkItem.
getter/setter pair
- jobId ↔ String?
-
Identifies the workflow job this WorkItem belongs to.
getter/setter pair
- leaseExpireTime ↔ String?
-
Time when the lease on this Work will expire.
getter/setter pair
- mapTask ↔ MapTask?
-
Additional information for MapTask WorkItems.
getter/setter pair
-
packages
↔ List<
Package> ? -
Any required packages that need to be fetched in order to execute this
WorkItem.
getter/setter pair
- projectId ↔ String?
-
Identifies the cloud project this WorkItem belongs to.
getter/setter pair
- reportStatusInterval ↔ String?
-
Recommended reporting interval.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seqMapTask ↔ SeqMapTask?
-
Additional information for SeqMapTask WorkItems.
getter/setter pair
- shellTask ↔ ShellTask?
-
Additional information for ShellTask WorkItems.
getter/setter pair
- sourceOperationTask ↔ SourceOperationRequest?
-
Additional information for source operation WorkItems.
getter/setter pair
- streamingComputationTask ↔ StreamingComputationTask?
-
Additional information for StreamingComputationTask WorkItems.
getter/setter pair
- streamingConfigTask ↔ StreamingConfigTask?
-
Additional information for StreamingConfigTask WorkItems.
getter/setter pair
- streamingSetupTask ↔ StreamingSetupTask?
-
Additional information for StreamingSetupTask WorkItems.
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