Class NotificationSourceContextStrategy
- java.lang.Object
-
- com.hybris.backoffice.widgets.notificationarea.NotificationSourceContextStrategy
-
- All Implemented Interfaces:
CockpitConfigurationContextStrategy
public class NotificationSourceContextStrategy extends java.lang.Object implements CockpitConfigurationContextStrategy
-
-
Field Summary
-
Fields inherited from interface com.hybris.cockpitng.core.config.CockpitConfigurationContextStrategy
EMPTY_PARENT_CONTEXT
-
-
Constructor Summary
Constructors Constructor Description NotificationSourceContextStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getParentContexts(java.lang.String context)Gets parent values for provided one.booleanvalueMatches(java.lang.String contextValue, java.lang.String value)Checks if provided value matches the one defined in configuration context.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.core.config.CockpitConfigurationContextStrategy
getConfigurationCacheKey, isResettable
-
-
-
-
Method Detail
-
getParentContexts
public java.util.List<java.lang.String> getParentContexts(java.lang.String context)
Description copied from interface:CockpitConfigurationContextStrategyGets parent values for provided one.- Specified by:
getParentContextsin interfaceCockpitConfigurationContextStrategy- Parameters:
context- value which parent is requested- Returns:
- list of parent values
-
valueMatches
public boolean valueMatches(java.lang.String contextValue, java.lang.String value)Description copied from interface:CockpitConfigurationContextStrategyChecks if provided value matches the one defined in configuration context.- Specified by:
valueMatchesin interfaceCockpitConfigurationContextStrategy- Parameters:
contextValue- value defined in configuration contextvalue- value to be checked- Returns:
trueif provided value matches the one defined in configuration context
-
-