public class NotificationSourceContextStrategy extends Object implements CockpitConfigurationContextStrategy
EMPTY_PARENT_CONTEXT| Constructor and Description |
|---|
NotificationSourceContextStrategy() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getParentContexts(String context)
Gets parent values for provided one.
|
boolean |
valueMatches(String contextValue,
String value)
Checks if provided value matches the one defined in configuration context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationCacheKey, isResettablepublic List<String> getParentContexts(String context)
CockpitConfigurationContextStrategygetParentContexts in interface CockpitConfigurationContextStrategycontext - value, which parent is requestedpublic boolean valueMatches(String contextValue, String value)
CockpitConfigurationContextStrategyvalueMatches in interface CockpitConfigurationContextStrategycontextValue - value defined in configuration contextvalue - value to be checkedtrue if provided value matches the one defined in configuration contextCopyright © 2018. All rights reserved.