public class DefaultTreeCollectionContextStrategy extends Object implements CockpitConfigurationContextStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
ROOT_CONTEXT |
EMPTY_PARENT_CONTEXT| Constructor and Description |
|---|
DefaultTreeCollectionContextStrategy() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getParentContexts(String context)
context is in the following form: Type1.att1.attr2.attrN
parent context will be: SuperType1.attr1.attr2.attrN, if SuperType1 is super type of Type1 Attr1Type.attr2.attrN where Attr1Type is type of attr1 _root_ otherwise |
void |
setTypeFacade(TypeFacade typeFacade) |
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 static final String ROOT_CONTEXT
public DefaultTreeCollectionContextStrategy()
public void setTypeFacade(TypeFacade typeFacade)
public List<String> getParentContexts(String context)
getParentContexts in interface CockpitConfigurationContextStrategycontext - public 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.