Class ViewContextStrategies.EveryNavigation

java.lang.Object
com.vaadin.cdi.internal.ViewContextStrategies.EveryNavigation
All Implemented Interfaces:
ViewContextStrategy, Serializable
Enclosing class:
ViewContextStrategies

public static class ViewContextStrategies.EveryNavigation extends Object implements ViewContextStrategy
See Also:
  • Constructor Details

    • EveryNavigation

      public EveryNavigation()
  • Method Details

    • inCurrentContext

      public boolean inCurrentContext(String viewName, String parameters)
      Description copied from interface: ViewContextStrategy
      Returns whether the active context contains target navigation state. This method should compare the current navigation state and the one given through the parameters and decide if the current context should be held open or released.
      Specified by:
      inCurrentContext in interface ViewContextStrategy
      Parameters:
      viewName - target navigation view name
      parameters - target navigation parameters
      Returns:
      true to hold context open; false to release it