Class BatchWorkflowConfig
- java.lang.Object
-
- com.qfs.snl.workflows.impl.WorkflowConfig
-
- com.activeviam.risk.ref.workflows.batch.impl.BatchWorkflowConfig
-
- All Implemented Interfaces:
com.qfs.snl.workflows.IWorkflowConfig
public class BatchWorkflowConfig extends com.qfs.snl.workflows.impl.WorkflowConfig
Special Workflow configuration to activate batch processing for workflow executor supporting it.In this Sandbox project,
BatchEventProcessExecutor
supports batch processing and relies on that class for it.- Author:
- QuartetFS
-
-
Constructor Summary
Constructors Constructor Description BatchWorkflowConfig(String name, String process, String unitKey)
Full constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchWorkflowConfig
doBatchFor(String... actions)
Activates batch for a series of actions.boolean
hasBatchFor(String action)
Gets if batch processing is activated for a given action.
-
-
-
Method Detail
-
doBatchFor
public BatchWorkflowConfig doBatchFor(String... actions)
Activates batch for a series of actions.- Parameters:
actions
- action types for which one wants batch processing.- Returns:
- this
-
hasBatchFor
public boolean hasBatchFor(String action)
Gets if batch processing is activated for a given action.- Parameters:
action
- action to test- Returns:
- true if the workflow supports batch processing.
-
-