Class ActionDataFilter
- java.lang.Object
-
- io.serverlessworkflow.api.filters.ActionDataFilter
-
- All Implemented Interfaces:
Serializable
public class ActionDataFilter extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionDataFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFromStateData()Workflow expression that selects state data that the state action can useStringgetResults()Workflow expression that filters the actions data resultsStringgetToStateData()Workflow expression that selects a state data element to which the action results should be added/merged into.booleanisUseResults()If set to false, action data results are not added/merged to state data.voidsetFromStateData(String fromStateData)Workflow expression that selects state data that the state action can usevoidsetResults(String results)Workflow expression that filters the actions data resultsvoidsetToStateData(String toStateData)Workflow expression that selects a state data element to which the action results should be added/merged into.voidsetUseResults(boolean useResults)If set to false, action data results are not added/merged to state data.ActionDataFilterwithFromStateData(String fromStateData)ActionDataFilterwithResults(String results)ActionDataFilterwithToStateData(String toStateData)ActionDataFilterwithUseResults(boolean useResults)
-
-
-
Method Detail
-
getFromStateData
public String getFromStateData()
Workflow expression that selects state data that the state action can use
-
setFromStateData
public void setFromStateData(String fromStateData)
Workflow expression that selects state data that the state action can use
-
withFromStateData
public ActionDataFilter withFromStateData(String fromStateData)
-
getResults
public String getResults()
Workflow expression that filters the actions data results
-
setResults
public void setResults(String results)
Workflow expression that filters the actions data results
-
withResults
public ActionDataFilter withResults(String results)
-
getToStateData
public String getToStateData()
Workflow expression that selects a state data element to which the action results should be added/merged into. If not specified, denote, the top-level state data element
-
setToStateData
public void setToStateData(String toStateData)
Workflow expression that selects a state data element to which the action results should be added/merged into. If not specified, denote, the top-level state data element
-
withToStateData
public ActionDataFilter withToStateData(String toStateData)
-
isUseResults
public boolean isUseResults()
If set to false, action data results are not added/merged to state data. In this case 'results' and 'toStateData' should be ignored. Default is true.
-
setUseResults
public void setUseResults(boolean useResults)
If set to false, action data results are not added/merged to state data. In this case 'results' and 'toStateData' should be ignored. Default is true.
-
withUseResults
public ActionDataFilter withUseResults(boolean useResults)
-
-