public class ReturnBuilderImpl
extends javax.faces.flow.builder.ReturnBuilder
Constructor and Description |
---|
ReturnBuilderImpl(FlowBuilderImpl root,
String id) |
Modifier and Type | Method and Description |
---|---|
javax.faces.flow.builder.ReturnBuilder |
fromOutcome(String outcome)
Set the outcome of the current return node. |
javax.faces.flow.builder.ReturnBuilder |
fromOutcome(javax.el.ValueExpression outcome)
Set the outcome of the current return node. |
javax.faces.flow.builder.ReturnBuilder |
markAsStartNode()
Mark this node as the start node in the flow. |
public ReturnBuilderImpl(FlowBuilderImpl root, String id)
public javax.faces.flow.builder.ReturnBuilder markAsStartNode()
javax.faces.flow.builder.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 javax.faces.flow.builder.NodeBuilder
markAsStartNode
in class javax.faces.flow.builder.ReturnBuilder
public javax.faces.flow.builder.ReturnBuilder fromOutcome(String outcome)
javax.faces.flow.builder.ReturnBuilder
Set the outcome of the current return node.
fromOutcome
in class javax.faces.flow.builder.ReturnBuilder
outcome
- A ValueExpression
String String
that will be the
outcome of the return.public javax.faces.flow.builder.ReturnBuilder fromOutcome(javax.el.ValueExpression outcome)
javax.faces.flow.builder.ReturnBuilder
Set the outcome of the current return node.
fromOutcome
in class javax.faces.flow.builder.ReturnBuilder
outcome
- A ValueExpression
String
that will be the
outcome of the return.Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.