Package javax.faces.flow
Class SwitchCase
java.lang.Object
javax.faces.flow.SwitchCase
Represents a case within a switch node in the flow graph.
See SwitchNode.
- Since:
- 2.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BooleangetCondition(FacesContext context) Returntrueif this case should be taken,falseotherwise.abstract StringReturn the outcome to be used ifgetCondition(javax.faces.context.FacesContext)returntrue.
-
Constructor Details
-
SwitchCase
public SwitchCase()
-
-
Method Details
-
getFromOutcome
Return the outcome to be used if
getCondition(javax.faces.context.FacesContext)returntrue.- Since:
- 2.2
-
getCondition
Return
trueif this case should be taken,falseotherwise.- Since:
- 2.2
-