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