Package jakarta.faces.flow.builder
Class NavigationCaseBuilder.RedirectBuilder
- java.lang.Object
-
- jakarta.faces.flow.builder.NavigationCaseBuilder.RedirectBuilder
-
- Enclosing class:
- NavigationCaseBuilder
public abstract class NavigationCaseBuilder.RedirectBuilder extends Object
Allows populating the redirect with parameters and setting the includeViewParams option.
- Since:
- 2.2
-
-
Constructor Summary
Constructors Constructor Description RedirectBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NavigationCaseBuilder.RedirectBuilder
includeViewParams()
Indicates the current redirect should include view parameters.abstract NavigationCaseBuilder.RedirectBuilder
parameter(String name, String value)
Add a parameter to the redirect.
-
-
-
Method Detail
-
parameter
public abstract NavigationCaseBuilder.RedirectBuilder parameter(String name, String value)
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
public abstract NavigationCaseBuilder.RedirectBuilder includeViewParams()
Indicates the current redirect should include view parameters.
- Returns:
- the builder instance
- Since:
- 2.2
-
-