Class BaseIntegrationServicesConfiguration
java.lang.Object
de.hybris.platform.integrationservices.config.BaseIntegrationServicesConfiguration
- Direct Known Subclasses:
DefaultInboundServicesConfiguration,DefaultIntegrationBackofficeConfiguration,DefaultIntegrationServicesConfiguration,DefaultOutboundServicesConfiguration,DefaultOutboundSyncConfiguration,DefaultWebhookServicesConfiguration
Provides common functionality for child classes
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleangetBooleanProperty(String property, boolean defaultValue) Gets the boolean property from theConfigurationService.protected ConfigurationServiceprotected intgetIntegerProperty(String property, int defaultValue) Gets the integer property from theConfigurationService.protected longgetLongProperty(String property, long defaultValue) Gets the long value property from theConfigurationService.protected StringgetStringProperty(String property, String defaultValue) Gets the String property from theConfigurationService.voidsetConfigurationService(ConfigurationService configurationService) protected voidsetProperty(String property, int value) Sets the property from theConfigurationServiceprotected voidsetProperty(String property, long value) Sets the property from theConfigurationServiceprotected voidsetProperty(String property, String value) Sets the property from theConfigurationService
-
Field Details
-
FALLBACK_MESSAGE
- See Also:
-
-
Constructor Details
-
BaseIntegrationServicesConfiguration
public BaseIntegrationServicesConfiguration()
-
-
Method Details
-
getConfigurationService
-
setConfigurationService
-
getStringProperty
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
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
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
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
Sets the property from theConfigurationService- Parameters:
property- Property to setvalue- Value that is set on the property
-
setProperty
Sets the property from theConfigurationService- Parameters:
property- Property to setvalue- int value that is set on the property
-
setProperty
Sets the property from theConfigurationService- Parameters:
property- Property to setvalue- long value that is set on the property
-