Package org.apache.myfaces.flow
Class SwitchNodeImpl
- java.lang.Object
-
- jakarta.faces.flow.FlowNode
-
- jakarta.faces.flow.SwitchNode
-
- org.apache.myfaces.flow.SwitchNodeImpl
-
- All Implemented Interfaces:
Freezable
public class SwitchNodeImpl extends SwitchNode implements Freezable
- Since:
- 2.2
- Author:
- Leonardo Uribe
-
-
Constructor Summary
Constructors Constructor Description SwitchNodeImpl(String switchNodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCase(SwitchCase switchCase)
void
freeze()
Call this method when the object will be made available to the runtimeList<SwitchCase>
getCases()
String
getDefaultOutcome(FacesContext context)
String
getId()
void
setDefaultOutcome(jakarta.el.ValueExpression defaultOutcome)
void
setDefaultOutcome(String defaultOutcome)
void
setId(String id)
-
-
-
Constructor Detail
-
SwitchNodeImpl
public SwitchNodeImpl(String switchNodeId)
-
-
Method Detail
-
getCases
public List<SwitchCase> getCases()
- Specified by:
getCases
in classSwitchNode
-
addCase
public void addCase(SwitchCase switchCase)
-
getDefaultOutcome
public String getDefaultOutcome(FacesContext context)
- Specified by:
getDefaultOutcome
in classSwitchNode
-
freeze
public void freeze()
Description copied from interface:Freezable
Call this method when the object will be made available to the runtime
-
setDefaultOutcome
public void setDefaultOutcome(String defaultOutcome)
-
setDefaultOutcome
public void setDefaultOutcome(jakarta.el.ValueExpression defaultOutcome)
-
setId
public void setId(String id)
-
-