Package jakarta.faces.flow.builder
Class NavigationCaseBuilder.RedirectBuilder
java.lang.Object
jakarta.faces.flow.builder.NavigationCaseBuilder.RedirectBuilder
- Enclosing class:
- NavigationCaseBuilder
Allows populating the redirect with parameters and setting the includeViewParams option.
- Since:
- 2.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the current redirect should include view parameters.Add a parameter to the redirect.
-
Constructor Details
-
RedirectBuilder
public RedirectBuilder()
-
-
Method Details
-
parameter
Add a parameter to the redirect.
- Parameters:
name
- the name of the redirect parametervalue
- the value of the redirect parameter. May not be aValueExpression
.- Returns:
- the builder instance
- Throws:
NullPointerException
- if any of the parameters arenull
- Since:
- 2.2
-
includeViewParams
Indicates the current redirect should include view parameters.
- Returns:
- the builder instance
- Since:
- 2.2
-