public class SwitchCaseBuilderImpl
extends jakarta.faces.flow.builder.SwitchCaseBuilder
| Constructor and Description |
|---|
SwitchCaseBuilderImpl(SwitchBuilderImpl root) |
| Modifier and Type | Method and Description |
|---|---|
jakarta.faces.flow.builder.SwitchCaseBuilder |
condition(String expression)
Set the if in the previously created switch case. |
jakarta.faces.flow.builder.SwitchCaseBuilder |
condition(jakarta.el.ValueExpression expression)
Set the if in the previously created switch case. |
jakarta.faces.flow.builder.SwitchCaseBuilder |
fromOutcome(String outcome)
Set the outcome in the previously created switch case. |
SwitchCaseImpl |
getNavigationCase() |
jakarta.faces.flow.builder.SwitchCaseBuilder |
switchCase()
Create a new case in the current switch. |
public SwitchCaseBuilderImpl(SwitchBuilderImpl root)
public SwitchCaseImpl getNavigationCase()
public jakarta.faces.flow.builder.SwitchCaseBuilder switchCase()
jakarta.faces.flow.builder.SwitchCaseBuilderCreate a new case in the current switch.
switchCase in class jakarta.faces.flow.builder.SwitchCaseBuilderpublic jakarta.faces.flow.builder.SwitchCaseBuilder condition(jakarta.el.ValueExpression expression)
jakarta.faces.flow.builder.SwitchCaseBuilderSet the if in the previously created switch case.
condition in class jakarta.faces.flow.builder.SwitchCaseBuilderexpression - the ValueExpression to be evaluated to see if this case is chosen.public jakarta.faces.flow.builder.SwitchCaseBuilder condition(String expression)
jakarta.faces.flow.builder.SwitchCaseBuilderSet the if in the previously created switch case.
condition in class jakarta.faces.flow.builder.SwitchCaseBuilderexpression - the ValueExpression String to be evaluated to see if this case is chosen.public jakarta.faces.flow.builder.SwitchCaseBuilder fromOutcome(String outcome)
jakarta.faces.flow.builder.SwitchCaseBuilderSet the outcome in the previously created switch case.
fromOutcome in class jakarta.faces.flow.builder.SwitchCaseBuilderoutcome - the outcome to be returned if the condition evaluates to true.Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.