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.SwitchCaseBuilder
Create a new case in the current switch.
switchCase
in class javax.faces.flow.builder.SwitchCaseBuilder
public javax.faces.flow.builder.SwitchCaseBuilder condition(javax.el.ValueExpression expression)
javax.faces.flow.builder.SwitchCaseBuilder
Set the if in the previously created switch case.
condition
in class javax.faces.flow.builder.SwitchCaseBuilder
expression
- 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.SwitchCaseBuilder
Set the if in the previously created switch case.
condition
in class javax.faces.flow.builder.SwitchCaseBuilder
expression
- 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.SwitchCaseBuilder
Set the outcome in the previously created switch case.
fromOutcome
in class javax.faces.flow.builder.SwitchCaseBuilder
outcome
- the outcome to be returned if the condition evaluates to true
.Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.