Package com.vaadin.cdi.internal
Class ViewContextStrategies.ViewName
java.lang.Object
com.vaadin.cdi.internal.ViewContextStrategies.ViewName
- All Implemented Interfaces:
ViewContextStrategy,Serializable
- Enclosing class:
ViewContextStrategies
- 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
-
ViewName
public ViewName()
-
-
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
-