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 class
OnEvents.ActionMode
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnEvents.ActionMode
getActionMode()
Specifies how actions are to be performed (in sequence of parallel)List<Action>
getActions()
Actions to be performed.EventDataFilter
getEventDataFilter()
List<String>
getEventRefs()
References one or more unique event names in the defined workflow events (Required)void
setActionMode(OnEvents.ActionMode actionMode)
Specifies how actions are to be performed (in sequence of parallel)void
setActions(List<Action> actions)
Actions to be performed.void
setEventDataFilter(EventDataFilter eventDataFilter)
void
setEventRefs(List<String> eventRefs)
References one or more unique event names in the defined workflow events (Required)OnEvents
withActionMode(OnEvents.ActionMode actionMode)
OnEvents
withActions(List<Action> actions)
OnEvents
withEventDataFilter(EventDataFilter eventDataFilter)
OnEvents
withEventRefs(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)
-
-