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

public Class SwitchCaseBuilderImpl

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

Field Summary

Modifier and TypeField and Description
private SwitchCaseImpl
private SwitchBuilderImpl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SwitchCaseBuilder
condition(ValueExpression
the ValueExpression to be evaluated to see if this case is chosen.
expression
)

Implements abstract jakarta.faces.flow.builder.SwitchCaseBuilder.condition.

Set the if in the previously created switch case.

public SwitchCaseBuilder
condition(String
the ValueExpression String to be evaluated to see if this case is chosen.
expression
)

Implements abstract jakarta.faces.flow.builder.SwitchCaseBuilder.condition.

Set the if in the previously created switch case.

public SwitchCaseBuilder
fromOutcome(String
the outcome to be returned if the condition evaluates to true.
outcome
)

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

Set the outcome in the previously created switch case.

public SwitchCaseImpl
public SwitchCaseBuilder
switchCase()

Implements abstract jakarta.faces.flow.builder.SwitchCaseBuilder.switchCase.

Create a new case in the current switch.

Field Detail

myCaseback to summary
private SwitchCaseImpl myCase
rootback to summary
private SwitchBuilderImpl root

Constructor Detail

SwitchCaseBuilderImplback to summary
public SwitchCaseBuilderImpl(SwitchBuilderImpl root)

Method Detail

conditionback to summary
public SwitchCaseBuilder condition(ValueExpression expression)

Implements abstract jakarta.faces.flow.builder.SwitchCaseBuilder.condition.

Doc from jakarta.faces.flow.builder.SwitchCaseBuilder.condition.

Set the if in the previously created switch case.

Parameters
expression:ValueExpression

the ValueExpression to be evaluated to see if this case is chosen.

Returns:SwitchCaseBuilder

the builder instance

Annotations
@Override
conditionback to summary
public SwitchCaseBuilder condition(String expression)

Implements abstract jakarta.faces.flow.builder.SwitchCaseBuilder.condition.

Doc from jakarta.faces.flow.builder.SwitchCaseBuilder.condition.

Set the if in the previously created switch case.

Parameters
expression:String

the ValueExpression String to be evaluated to see if this case is chosen.

Returns:SwitchCaseBuilder

the builder instance

Annotations
@Override
fromOutcomeback to summary
public SwitchCaseBuilder fromOutcome(String outcome)

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

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

Set the outcome in the previously created switch case.

Parameters
outcome:String

the outcome to be returned if the condition evaluates to true.

Returns:SwitchCaseBuilder

the builder instance

Annotations
@Override
getNavigationCaseback to summary
public SwitchCaseImpl getNavigationCase()
switchCaseback to summary
public SwitchCaseBuilder switchCase()

Implements abstract jakarta.faces.flow.builder.SwitchCaseBuilder.switchCase.

Doc from jakarta.faces.flow.builder.SwitchCaseBuilder.switchCase.

Create a new case in the current switch.

Returns:SwitchCaseBuilder

the builder instance

Annotations
@Override