javax.faces.flow.builder

## Class NavigationCaseBuilder.RedirectBuilder

- java.lang.Object
- - javax.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 and Description
    `NavigationCaseBuilder.RedirectBuilder()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NavigationCaseBuilder.RedirectBuilder

          public NavigationCaseBuilder.RedirectBuilder()

  - ### 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 parameter
      Throws:
        `NullPointerException` - if any of the parameters are `null`
      Since:
        2.2

    - #### includeViewParams

          public abstract NavigationCaseBuilder.RedirectBuilder includeViewParams()

      Indicates the current redirect should include view parameters.

      Since:
        2.2

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.