Class ViewContextStrategies.ViewName

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

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

    • ViewName

      public ViewName()
  • 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