Package io.serverlessworkflow.api.events
Class OnEvents
- java.lang.Object
-
- io.serverlessworkflow.api.events.OnEvents
-
- All Implemented Interfaces:
Serializable
public class OnEvents extends Object implements Serializable
Actions to be performed on Events arrival- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnEvents.ActionMode
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnEvents.ActionModegetActionMode()Specifies how actions are to be performed (in sequence of parallel)List<Action>getActions()Actions to be performed.EventDataFiltergetEventDataFilter()List<String>getEventRefs()References one or more unique event names in the defined workflow events (Required)voidsetActionMode(OnEvents.ActionMode actionMode)Specifies how actions are to be performed (in sequence of parallel)voidsetActions(List<Action> actions)Actions to be performed.voidsetEventDataFilter(EventDataFilter eventDataFilter)voidsetEventRefs(List<String> eventRefs)References one or more unique event names in the defined workflow events (Required)OnEventswithActionMode(OnEvents.ActionMode actionMode)OnEventswithActions(List<Action> actions)OnEventswithEventDataFilter(EventDataFilter eventDataFilter)OnEventswithEventRefs(List<String> eventRefs)
-
-
-
Method Detail
-
getEventRefs
public List<String> getEventRefs()
References one or more unique event names in the defined workflow events (Required)
-
setEventRefs
public void setEventRefs(List<String> eventRefs)
References one or more unique event names in the defined workflow events (Required)
-
getActionMode
public OnEvents.ActionMode getActionMode()
Specifies how actions are to be performed (in sequence of parallel)
-
setActionMode
public void setActionMode(OnEvents.ActionMode actionMode)
Specifies how actions are to be performed (in sequence of parallel)
-
withActionMode
public OnEvents withActionMode(OnEvents.ActionMode actionMode)
-
getEventDataFilter
public EventDataFilter getEventDataFilter()
-
setEventDataFilter
public void setEventDataFilter(EventDataFilter eventDataFilter)
-
withEventDataFilter
public OnEvents withEventDataFilter(EventDataFilter eventDataFilter)
-
-