Class BaseIntegrationServicesConfiguration

java.lang.Object
de.hybris.platform.integrationservices.config.BaseIntegrationServicesConfiguration
Direct Known Subclasses:
DefaultInboundServicesConfiguration, DefaultIntegrationBackofficeConfiguration, DefaultIntegrationServicesConfiguration, DefaultOutboundServicesConfiguration, DefaultOutboundSyncConfiguration, DefaultWebhookServicesConfiguration

public class BaseIntegrationServicesConfiguration extends Object
Provides common functionality for child classes
  • Field Details

  • Constructor Details

    • BaseIntegrationServicesConfiguration

      public BaseIntegrationServicesConfiguration()
  • Method Details

    • getConfigurationService

      protected ConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)
    • getStringProperty

      protected String getStringProperty(String property, String defaultValue)
      Gets the String property from the ConfigurationService. If there's an exception, the default value is returned
      Parameters:
      property - Property to get
      defaultValue - Default value to return if an exception occurs
      Returns:
      The property value
    • getBooleanProperty

      protected boolean getBooleanProperty(String property, boolean defaultValue)
      Gets the boolean property from the ConfigurationService. If there's an exception, the default value is returned
      Parameters:
      property - Property to get
      defaultValue - Default value to return if an exception occurs
      Returns:
      The property value
    • getIntegerProperty

      protected int getIntegerProperty(String property, int defaultValue)
      Gets the integer property from the ConfigurationService. If there's an exception, the default value is returned
      Parameters:
      property - Property to get
      defaultValue - Default value to return if an exception occurs
      Returns:
      The property value
    • getLongProperty

      protected long getLongProperty(String property, long defaultValue)
      Gets the long value property from the ConfigurationService. If there's an exception, the default value is returned
      Parameters:
      property - Property to get
      defaultValue - Default value to return if an exception occurs
      Returns:
      The property value
    • setProperty

      protected void setProperty(String property, String value)
      Sets the property from the ConfigurationService
      Parameters:
      property - Property to set
      value - Value that is set on the property
    • setProperty

      protected void setProperty(String property, int value)
      Sets the property from the ConfigurationService
      Parameters:
      property - Property to set
      value - int value that is set on the property
    • setProperty

      protected void setProperty(String property, long value)
      Sets the property from the ConfigurationService
      Parameters:
      property - Property to set
      value - long value that is set on the property