public class Action extends Object implements Serializable
| Constructor and Description |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
ActionDataFilter |
getActionDataFilter() |
String |
getCondition()
Expression, if defined, must evaluate to true for this action to be performed.
|
EventRef |
getEventRef()
Event References
|
FunctionRef |
getFunctionRef() |
String |
getId()
Unique action identifier
|
String |
getName()
Unique action definition name
|
List<String> |
getNonRetryableErrors()
List of unique references to defined workflow errors for which the action should not be retried.
|
List<String> |
getRetryableErrors()
List of unique references to defined workflow errors for which the action should be retried.
|
String |
getRetryRef()
References a defined workflow retry definition.
|
Sleep |
getSleep() |
SubFlowRef |
getSubFlowRef() |
void |
setActionDataFilter(ActionDataFilter actionDataFilter) |
void |
setCondition(String condition)
Expression, if defined, must evaluate to true for this action to be performed.
|
void |
setEventRef(EventRef eventRef)
Event References
|
void |
setFunctionRef(FunctionRef functionRef) |
void |
setId(String id)
Unique action identifier
|
void |
setName(String name)
Unique action definition name
|
void |
setNonRetryableErrors(List<String> nonRetryableErrors)
List of unique references to defined workflow errors for which the action should not be retried.
|
void |
setRetryableErrors(List<String> retryableErrors)
List of unique references to defined workflow errors for which the action should be retried.
|
void |
setRetryRef(String retryRef)
References a defined workflow retry definition.
|
void |
setSleep(Sleep sleep) |
void |
setSubFlowRef(SubFlowRef subFlowRef) |
Action |
withActionDataFilter(ActionDataFilter actionDataFilter) |
Action |
withCondition(String condition) |
Action |
withEventRef(EventRef eventRef) |
Action |
withFunctionRef(FunctionRef functionRef) |
Action |
withId(String id) |
Action |
withName(String name) |
Action |
withNonRetryableErrors(List<String> nonRetryableErrors) |
Action |
withRetryableErrors(List<String> retryableErrors) |
Action |
withRetryRef(String retryRef) |
Action |
withSleep(Sleep sleep) |
Action |
withSubFlowRef(SubFlowRef subFlowRef) |
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public FunctionRef getFunctionRef()
public void setFunctionRef(FunctionRef functionRef)
public Action withFunctionRef(FunctionRef functionRef)
public EventRef getEventRef()
public void setEventRef(EventRef eventRef)
public SubFlowRef getSubFlowRef()
public void setSubFlowRef(SubFlowRef subFlowRef)
public Action withSubFlowRef(SubFlowRef subFlowRef)
public Sleep getSleep()
public void setSleep(Sleep sleep)
public String getRetryRef()
public void setRetryRef(String retryRef)
public List<String> getNonRetryableErrors()
public void setNonRetryableErrors(List<String> nonRetryableErrors)
public List<String> getRetryableErrors()
public void setRetryableErrors(List<String> retryableErrors)
public ActionDataFilter getActionDataFilter()
public void setActionDataFilter(ActionDataFilter actionDataFilter)
public Action withActionDataFilter(ActionDataFilter actionDataFilter)
public String getCondition()
public void setCondition(String condition)
Copyright © 2020–2023 CNCF. All rights reserved.