File

src/app/jobs/model/execution-context.model.ts

Description

The context used by batch store information about the job execution. This context can be used for partitioning or restarting the job.

Example

Index

Properties

Constructor

constructor(dirty: boolean, empty: boolean, values: Array>)
Parameters :
Name Type Optional Description
dirty boolean
empty boolean
values Array<Map<stringstring>>

Properties

Public dirty
dirty: boolean
Type : boolean
Public empty
empty: boolean
Type : boolean
Public values
values: Map<string | string>
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);
      });
    });
  }
}

results matching ""

    No results matching ""