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(javax.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()
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
markAsStartNode
in class ReturnBuilder
public ReturnBuilder fromOutcome(String outcome)
ReturnBuilder
Set the outcome of the current return node.
fromOutcome
in class ReturnBuilder
outcome
- A ValueExpression
String String
that will be the
outcome of the return.public ReturnBuilder fromOutcome(javax.el.ValueExpression outcome)
ReturnBuilder
Set the outcome of the current return node.
fromOutcome
in class ReturnBuilder
outcome
- A ValueExpression
String
that will be the
outcome of the return.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.