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 ofIWorkflowRunTasksForEventParams
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description WorkflowRunTasksForEventParams(List<IWorkflowQueueItem> queuedItems, IWorkflowEventData eventData)
Creates a new POJO implementation ofIWorkflowRunTasksForEventParams
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IWorkflowEventData
getEventData()
Iterable<IWorkflowQueueItem>
getQueuedItems()
-
-
-
Constructor Detail
-
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 Detail
-
getEventData
public IWorkflowEventData getEventData()
- Specified by:
getEventData
in 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
public Iterable<IWorkflowQueueItem> getQueuedItems()
- Specified by:
getQueuedItems
in interfaceIWorkflowRunTasksForEventParams
- Returns:
- A workflow task that should be executed.
-
-