Package com.hybris.cockpitng.core.config
Class DefaultDashboardConfigurationFallbackStrategy
- java.lang.Object
-
- com.hybris.cockpitng.core.config.DefaultDashboardConfigurationFallbackStrategy
-
- All Implemented Interfaces:
CockpitConfigurationFallbackStrategy<Dashboard>
public class DefaultDashboardConfigurationFallbackStrategy extends java.lang.Object implements CockpitConfigurationFallbackStrategy<Dashboard>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT
-
Constructor Summary
Constructors Constructor Description DefaultDashboardConfigurationFallbackStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashboardloadFallbackConfiguration(ConfigContext context, java.lang.Class<Dashboard> configurationType)Generates and loads a fallback configuration for the given context and configuration type.
-
-
-
Field Detail
-
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadFallbackConfiguration
public Dashboard loadFallbackConfiguration(ConfigContext context, java.lang.Class<Dashboard> configurationType)
Description copied from interface:CockpitConfigurationFallbackStrategyGenerates and loads a fallback configuration for the given context and configuration type.- Specified by:
loadFallbackConfigurationin interfaceCockpitConfigurationFallbackStrategy<Dashboard>- 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
-
-