public class OnEvents extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
OnEvents.ActionMode |
| Constructor and Description |
|---|
OnEvents()
No args constructor for use in serialization
|
OnEvents(List<String> eventRefs,
List<Action> actions) |
| Modifier and Type | Method and 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) |
public List<String> getEventRefs()
public void setEventRefs(List<String> eventRefs)
public OnEvents.ActionMode getActionMode()
public void setActionMode(OnEvents.ActionMode actionMode)
public OnEvents withActionMode(OnEvents.ActionMode actionMode)
public EventDataFilter getEventDataFilter()
public void setEventDataFilter(EventDataFilter eventDataFilter)
public OnEvents withEventDataFilter(EventDataFilter eventDataFilter)
Copyright © 2020–2023 CNCF. All rights reserved.