public class ReturnBuilderImpl extends ReturnBuilder
| Constructor and Description |
|---|
ReturnBuilderImpl(FlowBuilderImpl root,
String id) |
| Modifier and Type | Method and Description |
|---|---|
ReturnBuilder |
fromOutcome(String outcome)
Set the outcome of the current return node. |
ReturnBuilder |
fromOutcome(jakarta.el.ValueExpression outcome)
Set the outcome of the current return node. |
ReturnBuilder |
markAsStartNode()
Mark this node as the start node in the flow. |
public ReturnBuilderImpl(FlowBuilderImpl root, String id)
public ReturnBuilder markAsStartNode()
NodeBuilderMark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
markAsStartNode in interface NodeBuildermarkAsStartNode in class ReturnBuilderpublic ReturnBuilder fromOutcome(String outcome)
ReturnBuilderSet the outcome of the current return node.
fromOutcome in class ReturnBuilderoutcome - A ValueExpression String String that will be the outcome of the return.public ReturnBuilder fromOutcome(jakarta.el.ValueExpression outcome)
ReturnBuilderSet the outcome of the current return node.
fromOutcome in class ReturnBuilderoutcome - A ValueExpression String that will be the outcome of the return.Copyright © 1997–2020 Eclipse Foundation. All rights reserved.