src/app/jobs/model/execution-context.model.ts
The context used by batch store information about the job execution. This context can be used for partitioning or restarting the job.
Properties |
constructor(dirty: boolean, empty: boolean, values: Array)
|
||||||||||||||||
Parameters :
|
Public dirty |
dirty:
|
Type : boolean
|
Public empty |
empty:
|
Type : boolean
|
Public values |
values:
|
Type : Map<string | string>
|
export class ExecutionContext {
public dirty: boolean;
public empty: boolean;
public values: Map<string, string>;
constructor(dirty: boolean, empty: boolean, values: Array<Map<string, string>>) {
this.dirty = dirty;
this.empty = empty;
this.values = new Map<string, string>();
values.forEach(i => {
i.forEach((value: string, key: string) => {
this.values.set(key, value);
});
});
}
}