TaskInitializer

class TaskInitializer

The TaskInitializer class prepares an action in the task definition to execution.

  • evalConfigSteps - executes all config steps (load data sources, check filters) defined in the task,

See also: TaskTriggerHandler, TaskActionExecutor

Constructors

TaskInitializer

TaskInitializer(TaskContext taskContext)

Class constructor.

Parameters:
  • taskContext – the task context

Methods

evalConfigSteps

public boolean evalConfigSteps(Map<String, DataProvider> dataProviders)

Executes all config steps (loading data from data sources, checking filters) defined for this task.

Parameters:
  • dataProviders – the map of data providers, not null or empty
Throws:
Returns:

true if all steps were executed, false otherwise