java.lang.Object
jakarta.faces.flow.SwitchCase
com.sun.faces.flow.SwitchCaseImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCondition
(FacesContext context) Returntrue
if this case should be taken,false
otherwise.Return the outcome to be used ifSwitchCase.getCondition(jakarta.faces.context.FacesContext)
returntrue
.void
setCondition
(String condition) void
setConditionExpression
(ValueExpression conditionExpression) void
setEnclosingId
(String returnId) void
setFromOutcome
(String fromOutcome)
-
Constructor Details
-
SwitchCaseImpl
public SwitchCaseImpl()
-
-
Method Details
-
getConditionExpression
-
getCondition
Description copied from class:SwitchCase
Return
true
if this case should be taken,false
otherwise.- Specified by:
getCondition
in classSwitchCase
- Parameters:
context
- theFacesContext
for the current request.- Returns:
- a value indicating whether or not this condition should be taken
-
setCondition
-
setConditionExpression
-
getFromOutcome
Description copied from class:SwitchCase
Return the outcome to be used if
SwitchCase.getCondition(jakarta.faces.context.FacesContext)
returntrue
.- Specified by:
getFromOutcome
in classSwitchCase
- Returns:
- the outcome
-
setFromOutcome
-
getEnclosingId
-
setEnclosingId
-