Class OfferConfiguration

All Implemented Interfaces:
DbConfiguration, VitamApplicationConfiguration, VitamApplicationConfigurationInterface

public class OfferConfiguration extends DbConfigurationImpl
Offer configuration
  • Constructor Details

    • OfferConfiguration

      public OfferConfiguration()
  • Method Details

    • getProvider

      public String getProvider()
      Returns:
      the provider
    • setProvider

      public OfferConfiguration setProvider(String provider)
      Parameters:
      provider - the provider to set
      Returns:
      this
    • getSwiftKeystoneAuthUrl

      public String getSwiftKeystoneAuthUrl()
      Returns:
      the swiftKeystoneAuthUrl
    • setSwiftKeystoneAuthUrl

      public OfferConfiguration setSwiftKeystoneAuthUrl(String swiftKeystoneAuthUrl)
      Parameters:
      swiftKeystoneAuthUrl - the swiftKeystoneAuthUrl to set
      Returns:
      this
    • getSwiftDomain

      public String getSwiftDomain()
      Returns:
      the tenantName
    • setSwiftDomain

      public OfferConfiguration setSwiftDomain(String swiftDomain)
      Parameters:
      swiftDomain - the tenantName to set
      Returns:
      this
    • getSwiftUser

      public String getSwiftUser()
      Returns:
      the swiftUser
    • setSwiftUser

      public OfferConfiguration setSwiftUser(String swiftUser)
      Parameters:
      swiftUser - the userName to set
      Returns:
      this
    • getSwiftPassword

      public String getSwiftPassword()
      Returns:
      the swiftPassword
    • setSwiftPassword

      public OfferConfiguration setSwiftPassword(String swiftPassword)
      Parameters:
      swiftPassword - the swiftPassword to set
      Returns:
      this
    • getStoragePath

      public String getStoragePath()
      Returns:
      the storagePath
    • setStoragePath

      public OfferConfiguration setStoragePath(String storagePath)
      Parameters:
      storagePath - the storagePath to set
      Returns:
      this
    • getContextPath

      public String getContextPath()
      Returns:
      the contextPath
    • setContextPath

      public OfferConfiguration setContextPath(String contextPath)
      Parameters:
      contextPath - the contextPath to set
      Returns:
      this
    • isAuthentication

      public boolean isAuthentication()
      Description copied from interface: VitamApplicationConfigurationInterface
      getter authentication
      Specified by:
      isAuthentication in interface VitamApplicationConfigurationInterface
      Overrides:
      isAuthentication in class DefaultVitamApplicationConfiguration
      Returns:
      boolean
    • setAuthentication

      public OfferConfiguration setAuthentication(boolean authentication)
      Specified by:
      setAuthentication in interface VitamApplicationConfigurationInterface
      Overrides:
      setAuthentication in class DefaultVitamApplicationConfiguration
      Parameters:
      authentication - to set or unset
      Returns:
      OfferConfiguration
    • getSwiftProjectName

      public String getSwiftProjectName()
      Returns:
      swiftProjectName
    • setSwiftProjectName

      public OfferConfiguration setSwiftProjectName(String swiftProjectName)
      Parameters:
      swiftProjectName - the swiftProjectName to set or unset
      Returns:
      OfferConfiguration
    • getOfferLogCompactionConfiguration

      public OfferLogCompactionConfiguration getOfferLogCompactionConfiguration()
    • setOfferLogCompactionConfiguration

      public OfferConfiguration setOfferLogCompactionConfiguration(OfferLogCompactionConfiguration offerLogCompactionConfiguration)
    • getMaxBatchThreadPoolSize

      public int getMaxBatchThreadPoolSize()
    • setMaxBatchThreadPoolSize

      public OfferConfiguration setMaxBatchThreadPoolSize(int maxBatchThreadPoolSize)
    • getBatchMetadataComputationTimeout

      public int getBatchMetadataComputationTimeout()
    • setBatchMetadataComputationTimeout

      public OfferConfiguration setBatchMetadataComputationTimeout(int batchMetadataComputationTimeout)