Class WorkflowRunTasksForEventParams
java.lang.Object
de.xima.fc.workflow.processor.model.WorkflowRunTasksForEventParams
- All Implemented Interfaces:
IWorkflowRunTasksForEventParams
public final class WorkflowRunTasksForEventParams
extends Object
implements IWorkflowRunTasksForEventParams
Default POJO implementation of
IWorkflowRunTasksForEventParams.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowRunTasksForEventParams(List<IWorkflowQueueItem> queuedItems, IWorkflowEventData eventData) Creates a new POJO implementation ofIWorkflowRunTasksForEventParams. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
WorkflowRunTasksForEventParams
public WorkflowRunTasksForEventParams(List<IWorkflowQueueItem> queuedItems, IWorkflowEventData eventData) Creates a new POJO implementation ofIWorkflowRunTasksForEventParams.- Parameters:
queuedItems- The value that is to be returned bygetQueuedItems().eventData- The value that is to be returned bygetEventData().
-
-
Method Details
-
getEventData
- Specified by:
getEventDatain interfaceIWorkflowRunTasksForEventParams- Returns:
- The event that triggered the tasks to be run. Used to check the preconditions when running a task, see
ITriggerHandler.isPreconditionSatisfied(de.xima.fc.interfaces.workflow.event.ITriggerPreconditionSatisfiedParams)Can benull, in which case preconditions are not checked.
-
getQueuedItems
- Specified by:
getQueuedItemsin interfaceIWorkflowRunTasksForEventParams- Returns:
- A workflow task that should be executed.
-