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