Class Branch
- java.lang.Object
-
- io.serverlessworkflow.api.branches.Branch
-
- All Implemented Interfaces:
Serializable
public class Branch extends Object implements Serializable
Branch Definition- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Branch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Action>
getActions()
Actions to be executed in this branchString
getName()
Branch nameString
getWorkflowId()
Unique Id of a workflow to be executed in this branchvoid
setActions(List<Action> actions)
Actions to be executed in this branchvoid
setName(String name)
Branch namevoid
setWorkflowId(String workflowId)
Unique Id of a workflow to be executed in this branchBranch
withActions(List<Action> actions)
Branch
withName(String name)
Branch
withWorkflowId(String workflowId)
-
-
-
Method Detail
-
getName
public String getName()
Branch name
-
setName
public void setName(String name)
Branch name
-
getWorkflowId
public String getWorkflowId()
Unique Id of a workflow to be executed in this branch
-
setWorkflowId
public void setWorkflowId(String workflowId)
Unique Id of a workflow to be executed in this branch
-
-