Class PlatformSystemPropertyResolver
java.lang.Object
com.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
com.hybris.backoffice.cockpitng.util.impl.PlatformSystemPropertyResolver
- All Implemented Interfaces:
com.hybris.cockpitng.core.util.CockpitProperties
public class PlatformSystemPropertyResolver
extends com.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
Re-maps platform properties to cockpit properties, with an optional prefix. Example: There is a property
'cockpitng.appTitle'. If you have no prefix defined, you can just specify it in your local.properties. If you have a
prefix defined, e.g. "myApp.", you must specify it like 'myApp.cockpitng.appTitle'.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBoolean(String key) booleangetBoolean(String key, boolean defaultValue) doubleintgetInteger(String key) protected StringgetProperty(String key) voidprotected voidinitProperties(String filename) Deprecated, for removal: This API element is subject to removal in a future version.since 6.5 - this method does nothing and should not be usedvoidvoidsetProperties(Map<String, String> properties) Deprecated, for removal: This API element is subject to removal in a future version.since 6.5 - this method does nothing and should not be usedMethods inherited from class com.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
getCacheTimeoutInSeconds, getLocalPropertyFile, getProjectPropertyFile, setCacheTimeoutInSeconds, setLocalPropertyFile, setProjectPropertyFile
-
Constructor Details
-
PlatformSystemPropertyResolver
public PlatformSystemPropertyResolver()
-
-
Method Details
-
initProperties
public void initProperties()- Overrides:
initPropertiesin classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
initProperties
Deprecated, for removal: This API element is subject to removal in a future version.since 6.5 - this method does nothing and should not be used- Overrides:
initPropertiesin classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
setProperties
Deprecated, for removal: This API element is subject to removal in a future version.since 6.5 - this method does nothing and should not be used- Overrides:
setPropertiesin classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
getProperty
- Specified by:
getPropertyin interfacecom.hybris.cockpitng.core.util.CockpitProperties- Overrides:
getPropertyin classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
getBoolean
- Specified by:
getBooleanin interfacecom.hybris.cockpitng.core.util.CockpitProperties- Overrides:
getBooleanin classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
getBoolean
- Specified by:
getBooleanin interfacecom.hybris.cockpitng.core.util.CockpitProperties- Overrides:
getBooleanin classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
getInteger
- Specified by:
getIntegerin interfacecom.hybris.cockpitng.core.util.CockpitProperties- Overrides:
getIntegerin classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
getDouble
- Specified by:
getDoublein interfacecom.hybris.cockpitng.core.util.CockpitProperties- Overrides:
getDoublein classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
getProperties
- Specified by:
getPropertiesin interfacecom.hybris.cockpitng.core.util.CockpitProperties- Overrides:
getPropertiesin classcom.hybris.cockpitng.core.util.impl.DefaultPropertyResolverRegistry
-
getPrefix
-
setPrefix
-