Top Fields Constructors Methods
com.sun.faces.flow.builder

public Class ReturnBuilderImpl

extends ReturnBuilder
Class Inheritance
Imports
com.sun.faces.flow.ReturnNodeImpl, com.sun.faces.util.Util, jakarta.el.ValueExpression, jakarta.faces.flow.builder.ReturnBuilder

Field Summary

Modifier and TypeField and Description
pack-priv String
private FlowBuilderImpl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ReturnBuilder
fromOutcome(String
A ValueExpression String String that will be the outcome of the return.
outcome
)

Implements abstract jakarta.faces.flow.builder.ReturnBuilder.fromOutcome.

Set the outcome of the current return node.

public ReturnBuilder
fromOutcome(ValueExpression
A ValueExpression String that will be the outcome of the return.
outcome
)

Implements abstract jakarta.faces.flow.builder.ReturnBuilder.fromOutcome.

Set the outcome of the current return node.

public ReturnBuilder

Field Detail

idback to summary
pack-priv String id
rootback to summary
private FlowBuilderImpl root

Constructor Detail

ReturnBuilderImplback to summary
public ReturnBuilderImpl(FlowBuilderImpl root, String id)

Method Detail

fromOutcomeback to summary
public ReturnBuilder fromOutcome(String outcome)

Implements abstract jakarta.faces.flow.builder.ReturnBuilder.fromOutcome.

Doc from jakarta.faces.flow.builder.ReturnBuilder.fromOutcome.

Set the outcome of the current return node.

Parameters
outcome:String

A ValueExpression String String that will be the outcome of the return.

Returns:ReturnBuilder

the builder instance

Annotations
@Override
fromOutcomeback to summary
public ReturnBuilder fromOutcome(ValueExpression outcome)

Implements abstract jakarta.faces.flow.builder.ReturnBuilder.fromOutcome.

Doc from jakarta.faces.flow.builder.ReturnBuilder.fromOutcome.

Set the outcome of the current return node.

Parameters
outcome:ValueExpression

A ValueExpression String that will be the outcome of the return.

Returns:ReturnBuilder

the builder instance

Annotations
@Override
markAsStartNodeback to summary
public ReturnBuilder markAsStartNode()

Implements abstract jakarta.faces.flow.builder.ReturnBuilder.markAsStartNode.

Implements jakarta.faces.flow.builder.NodeBuilder.markAsStartNode.

Doc from jakarta.faces.flow.builder.NodeBuilder.markAsStartNode.

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.

Returns:ReturnBuilder

the builder instance

Annotations
@Override