public abstract class ReturnBuilder extends Object implements NodeBuilder
Create a return node in the current Flow
.
Constructor and Description |
---|
ReturnBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract ReturnBuilder |
fromOutcome(String outcome)
Set the outcome of the current return node. |
abstract ReturnBuilder |
fromOutcome(ValueExpression outcome)
Set the outcome of the current return node. |
abstract ReturnBuilder |
markAsStartNode()
Mark this node as the start node in the flow. |
public abstract ReturnBuilder fromOutcome(String outcome)
Set the outcome of the current return node.
outcome
- A ValueExpression
String String
that will be the outcome of the return.NullPointerException
- if any of the parameters are null
public abstract ReturnBuilder fromOutcome(ValueExpression outcome)
Set the outcome of the current return node.
outcome
- A ValueExpression
String
that will be the outcome of the return.NullPointerException
- if any of the parameters are null
public abstract ReturnBuilder markAsStartNode()
NodeBuilder
Mark 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 NodeBuilder
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.