Class Action
- java.lang.Object
-
- io.serverlessworkflow.api.actions.Action
-
- All Implemented Interfaces:
Serializable
public class Action extends Object implements Serializable
Action Definition- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Action()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionDataFilter
getActionDataFilter()
EventRef
getEventRef()
Event ReferencesFunctionRef
getFunctionRef()
String
getName()
Unique action definition nameString
getTimeout()
Time period to wait for function execution to completevoid
setActionDataFilter(ActionDataFilter actionDataFilter)
void
setEventRef(EventRef eventRef)
Event Referencesvoid
setFunctionRef(FunctionRef functionRef)
void
setName(String name)
Unique action definition namevoid
setTimeout(String timeout)
Time period to wait for function execution to completeAction
withActionDataFilter(ActionDataFilter actionDataFilter)
Action
withEventRef(EventRef eventRef)
Action
withFunctionRef(FunctionRef functionRef)
Action
withName(String name)
Action
withTimeout(String timeout)
-
-
-
Method Detail
-
getName
public String getName()
Unique action definition name
-
setName
public void setName(String name)
Unique action definition name
-
getFunctionRef
public FunctionRef getFunctionRef()
-
setFunctionRef
public void setFunctionRef(FunctionRef functionRef)
-
withFunctionRef
public Action withFunctionRef(FunctionRef functionRef)
-
getEventRef
public EventRef getEventRef()
Event References
-
setEventRef
public void setEventRef(EventRef eventRef)
Event References
-
getTimeout
public String getTimeout()
Time period to wait for function execution to complete
-
setTimeout
public void setTimeout(String timeout)
Time period to wait for function execution to complete
-
getActionDataFilter
public ActionDataFilter getActionDataFilter()
-
setActionDataFilter
public void setActionDataFilter(ActionDataFilter actionDataFilter)
-
withActionDataFilter
public Action withActionDataFilter(ActionDataFilter actionDataFilter)
-
-