Class DefaultTreeCollectionConfigFallbackStrategy
- java.lang.Object
-
- com.hybris.cockpitng.core.config.impl.AbstractCockpitConfigurationFallbackStrategy<TreeCollectionNodes>
-
- com.hybris.cockpitng.core.config.impl.DefaultTreeCollectionConfigFallbackStrategy
-
- All Implemented Interfaces:
CockpitConfigurationFallbackStrategy<TreeCollectionNodes>
public class DefaultTreeCollectionConfigFallbackStrategy extends AbstractCockpitConfigurationFallbackStrategy<TreeCollectionNodes>
-
-
Field Summary
-
Fields inherited from class com.hybris.cockpitng.core.config.impl.AbstractCockpitConfigurationFallbackStrategy
INITIAL, MANDATORY, OTHER, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description DefaultTreeCollectionConfigFallbackStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeCollectionNodesloadFallbackConfiguration(ConfigContext context, java.lang.Class<TreeCollectionNodes> configurationType)Generates and loads a fallback configuration for the given context and configuration type.-
Methods inherited from class com.hybris.cockpitng.core.config.impl.AbstractCockpitConfigurationFallbackStrategy
getAttributes, getMandatoryAttributes, getTypeFacade, getUniqueAttributes, loadType, setTypeFacade
-
-
-
-
Method Detail
-
loadFallbackConfiguration
public TreeCollectionNodes loadFallbackConfiguration(ConfigContext context, java.lang.Class<TreeCollectionNodes> configurationType)
Description copied from interface:CockpitConfigurationFallbackStrategyGenerates and loads a fallback configuration for the given context and configuration type.- Parameters:
context- configuration contextconfigurationType- type of configuration to be loaded- Returns:
- created fallback configuration or null if the strategy can not create a fallback configuration for the given context and type
-
-