Package jakarta.faces.flow.builder
Class NavigationCaseBuilder
- java.lang.Object
- 
- jakarta.faces.flow.builder.NavigationCaseBuilder
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classNavigationCaseBuilder.RedirectBuilderAllows populating the redirect with parameters and setting the includeViewParams option.
 - 
Constructor SummaryConstructors Constructor Description NavigationCaseBuilder()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NavigationCaseBuildercondition(ValueExpression condition)Set the if of the current navigation case.abstract NavigationCaseBuildercondition(String condition)Set the if of the current navigation case.abstract NavigationCaseBuilderfromAction(String fromAction)Set the from-action of the current navigation case.abstract NavigationCaseBuilderfromOutcome(String fromOutcome)Set the from-outcome of the current navigation case.abstract NavigationCaseBuilderfromViewId(String fromViewId)Set the from-view-id of the current navigation case.abstract NavigationCaseBuilder.RedirectBuilderredirect()Create a redirect within this navigation case.abstract NavigationCaseBuildertoFlowDocumentId(String toFlowDocumentId)Set the to-flow-document-id of the current navigation case.abstract NavigationCaseBuildertoViewId(String toViewId)Set the to-view-id of the current navigation case.
 
- 
- 
- 
Method Detail- 
fromViewIdpublic abstract NavigationCaseBuilder fromViewId(String fromViewId) Set the from-view-id of the current navigation case. - Parameters:
- fromViewId- the from-view-id
- Returns:
- the builder instance
- Throws:
- NullPointerException- if any of the parameters are- null
- Since:
- 2.2
 
 - 
fromActionpublic abstract NavigationCaseBuilder fromAction(String fromAction) Set the from-action of the current navigation case. - Parameters:
- fromAction- the from-action
- Returns:
- the builder instance
- Throws:
- NullPointerException- if any of the parameters are- null
- Since:
- 2.2
 
 - 
fromOutcomepublic abstract NavigationCaseBuilder fromOutcome(String fromOutcome) Set the from-outcome of the current navigation case. - Parameters:
- fromOutcome- the from-outcome
- Returns:
- the builder instance
- Throws:
- NullPointerException- if any of the parameters are- null
- Since:
- 2.2
 
 - 
toViewIdpublic abstract NavigationCaseBuilder toViewId(String toViewId) Set the to-view-id of the current navigation case. - Parameters:
- toViewId- the to-view-id
- Returns:
- the builder instance
- Throws:
- NullPointerException- if any of the parameters are- null
- Since:
- 2.2
 
 - 
toFlowDocumentIdpublic abstract NavigationCaseBuilder toFlowDocumentId(String toFlowDocumentId) Set the to-flow-document-id of the current navigation case. - Parameters:
- toFlowDocumentId- the to-flow-document-id
- Returns:
- the builder instance
- Throws:
- NullPointerException- if any of the parameters are- null
- Since:
- 2.2
 
 - 
conditionpublic abstract NavigationCaseBuilder condition(String condition) Set the if of the current navigation case. - Parameters:
- condition- the <if>
- Returns:
- the builder instance
- Throws:
- NullPointerException- if any of the parameters are- null
- Since:
- 2.2
 
 - 
conditionpublic abstract NavigationCaseBuilder condition(ValueExpression condition) Set the if of the current navigation case. - Parameters:
- condition- the <if>
- Returns:
- the builder instance
- Throws:
- NullPointerException- if any of the parameters are- null
- Since:
- 2.2
 
 - 
redirectpublic abstract NavigationCaseBuilder.RedirectBuilder redirect() Create a redirect within this navigation case. - Returns:
- the builder instance
- Since:
- 2.2
 
 
- 
 
-