Class BaseIntegrationServicesConfiguration
- java.lang.Object
-
- de.hybris.platform.integrationservices.config.BaseIntegrationServicesConfiguration
-
- Direct Known Subclasses:
DefaultInboundServicesConfiguration,DefaultIntegrationBackofficeConfiguration,DefaultIntegrationServicesConfiguration,DefaultOutboundServicesConfiguration,DefaultOutboundSyncConfiguration
public class BaseIntegrationServicesConfiguration extends java.lang.ObjectProvides common functionality for child classes
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringFALLBACK_MESSAGE
-
Constructor Summary
Constructors Constructor Description BaseIntegrationServicesConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangetBooleanProperty(java.lang.String property, boolean defaultValue)Gets the boolean property from theConfigurationService.protected ConfigurationServicegetConfigurationService()protected intgetIntegerProperty(java.lang.String property, int defaultValue)Gets the integer property from theConfigurationService.protected longgetLongProperty(java.lang.String property, long defaultValue)Gets the long value property from theConfigurationService.protected java.lang.StringgetStringProperty(java.lang.String property, java.lang.String defaultValue)Gets the String property from theConfigurationService.voidsetConfigurationService(ConfigurationService configurationService)protected voidsetProperty(java.lang.String property, int value)Sets the property from theConfigurationServiceprotected voidsetProperty(java.lang.String property, long value)Sets the property from theConfigurationServiceprotected voidsetProperty(java.lang.String property, java.lang.String value)Sets the property from theConfigurationService
-
-
-
Field Detail
-
FALLBACK_MESSAGE
protected static final java.lang.String FALLBACK_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getStringProperty
protected java.lang.String getStringProperty(java.lang.String property, java.lang.String defaultValue)Gets the String property from theConfigurationService. If there's an exception, the default value is returned- Parameters:
property- Property to getdefaultValue- Default value to return if an exception occurs- Returns:
- The property value
-
getBooleanProperty
protected boolean getBooleanProperty(java.lang.String property, boolean defaultValue)Gets the boolean property from theConfigurationService. If there's an exception, the default value is returned- Parameters:
property- Property to getdefaultValue- Default value to return if an exception occurs- Returns:
- The property value
-
getIntegerProperty
protected int getIntegerProperty(java.lang.String property, int defaultValue)Gets the integer property from theConfigurationService. If there's an exception, the default value is returned- Parameters:
property- Property to getdefaultValue- Default value to return if an exception occurs- Returns:
- The property value
-
getLongProperty
protected long getLongProperty(java.lang.String property, long defaultValue)Gets the long value property from theConfigurationService. If there's an exception, the default value is returned- Parameters:
property- Property to getdefaultValue- Default value to return if an exception occurs- Returns:
- The property value
-
setProperty
protected void setProperty(java.lang.String property, java.lang.String value)Sets the property from theConfigurationService- Parameters:
property- Property to setvalue- Value that is set on the property
-
setProperty
protected void setProperty(java.lang.String property, int value)Sets the property from theConfigurationService- Parameters:
property- Property to setvalue- int value that is set on the property
-
setProperty
protected void setProperty(java.lang.String property, long value)Sets the property from theConfigurationService- Parameters:
property- Property to setvalue- long value that is set on the property
-
-