Package com.vaadin.cdi.internal
Class ViewContextStrategies.ViewNameAndParameters
java.lang.Object
com.vaadin.cdi.internal.ViewContextStrategies.ViewNameAndParameters
- All Implemented Interfaces:
ViewContextStrategy,Serializable
- Enclosing class:
ViewContextStrategies
public static class ViewContextStrategies.ViewNameAndParameters
extends Object
implements ViewContextStrategy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninCurrentContext(String viewName, String parameters) Returns whether the active context contains target navigation state.
-
Constructor Details
-
ViewNameAndParameters
public ViewNameAndParameters()
-
-
Method Details
-
inCurrentContext
Description copied from interface:ViewContextStrategyReturns 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:
inCurrentContextin interfaceViewContextStrategy- Parameters:
viewName- target navigation view nameparameters- target navigation parameters- Returns:
trueto hold context open;falseto release it
-