Class StorageConfiguration

All Implemented Interfaces:
VitamApplicationConfiguration, VitamApplicationConfigurationInterface

public class StorageConfiguration extends DefaultVitamApplicationConfiguration
Storage configuration contains all configuration items for storage offers
  • Constructor Details

    • StorageConfiguration

      public StorageConfiguration()
  • Method Details

    • getSwiftUrl

      public String getSwiftUrl()
      Returns:
      the swiftUrl
    • setSwiftUrl

      public StorageConfiguration setSwiftUrl(String swiftUrl)
      Parameters:
      swiftUrl - the swiftUrl to set
      Returns:
      this
    • getProvider

      public String getProvider()
      Returns:
      the provider
    • setProvider

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

      public String getSwiftKeystoneAuthUrl()
      Returns:
      the swiftKeystoneAuthUrl
    • setSwiftKeystoneAuthUrl

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

      public String getSwiftDomain()
      Returns:
      the tenantName
    • setSwiftDomain

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

      public String getSwiftUser()
      Returns:
      the swiftUser
    • setSwiftUser

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

      public String getSwiftPassword()
      Returns:
      the swiftPassword
    • setSwiftPassword

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

      public String getStoragePath()
      Returns:
      the storagePath
    • setStoragePath

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

      public String getContextPath()
      Returns:
      the contextPath
    • setContextPath

      public StorageConfiguration 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 StorageConfiguration setAuthentication(boolean authentication)
      Specified by:
      setAuthentication in interface VitamApplicationConfigurationInterface
      Overrides:
      setAuthentication in class DefaultVitamApplicationConfiguration
      Parameters:
      authentication - to set ou unset
      Returns:
      StorageConfiguration
    • getSwiftProjectName

      public String getSwiftProjectName()
    • setSwiftProjectName

      public StorageConfiguration setSwiftProjectName(String swiftProjectName)
    • getSwiftTrustStore

      public String getSwiftTrustStore()
    • setSwiftTrustStore

      public void setSwiftTrustStore(String swiftTrustStore)
    • getSwiftTrustStorePassword

      public String getSwiftTrustStorePassword()
    • setSwiftTrustStorePassword

      public void setSwiftTrustStorePassword(String swiftTrustStorePassword)
    • getSwiftMaxConnectionsPerRoute

      public int getSwiftMaxConnectionsPerRoute()
    • setSwiftMaxConnectionsPerRoute

      public void setSwiftMaxConnectionsPerRoute(int swiftMaxConnectionsPerRoute)
    • getSwiftMaxConnections

      public int getSwiftMaxConnections()
    • setSwiftMaxConnections

      public void setSwiftMaxConnections(int swiftMaxConnections)
    • getSwiftConnectionTimeout

      public int getSwiftConnectionTimeout()
    • setSwiftConnectionTimeout

      public void setSwiftConnectionTimeout(int swiftConnectionTimeout)
    • getSwiftReadTimeout

      public int getSwiftReadTimeout()
    • setSwiftReadTimeout

      public void setSwiftReadTimeout(int swiftReadTimeout)
    • getSwiftSoftRenewTokenDelayBeforeExpireTime

      public long getSwiftSoftRenewTokenDelayBeforeExpireTime()
    • setSwiftSoftRenewTokenDelayBeforeExpireTime

      public void setSwiftSoftRenewTokenDelayBeforeExpireTime(long swiftSoftRenewTokenDelayBeforeExpireTime)
    • getSwiftHardRenewTokenDelayBeforeExpireTime

      public long getSwiftHardRenewTokenDelayBeforeExpireTime()
    • setSwiftHardRenewTokenDelayBeforeExpireTime

      public void setSwiftHardRenewTokenDelayBeforeExpireTime(long swiftHardRenewTokenDelayBeforeExpireTime)
    • getS3RegionName

      public String getS3RegionName()
    • setS3RegionName

      public StorageConfiguration setS3RegionName(String s3RegionName)
    • getS3Endpoint

      public String getS3Endpoint()
    • setS3Endpoint

      public StorageConfiguration setS3Endpoint(String s3Endpoint)
    • getS3TrustStore

      public String getS3TrustStore()
    • setS3TrustStore

      public StorageConfiguration setS3TrustStore(String s3TrustStore)
    • getS3TrustStorePassword

      public String getS3TrustStorePassword()
    • setS3TrustStorePassword

      public StorageConfiguration setS3TrustStorePassword(String s3TrustStorePassword)
    • getS3AccessKey

      public String getS3AccessKey()
    • setS3AccessKey

      public StorageConfiguration setS3AccessKey(String s3AccessKey)
    • getS3SecretKey

      public String getS3SecretKey()
    • setS3SecretKey

      public StorageConfiguration setS3SecretKey(String s3SecretKey)
    • getS3SignerType

      public String getS3SignerType()
    • setS3SignerType

      public StorageConfiguration setS3SignerType(String s3SignerType)
    • isS3PathStyleAccessEnabled

      public boolean isS3PathStyleAccessEnabled()
    • setS3PathStyleAccessEnabled

      public StorageConfiguration setS3PathStyleAccessEnabled(boolean s3PathStyleAccessEnabled)
    • getS3MaxConnections

      public int getS3MaxConnections()
    • setS3MaxConnections

      public StorageConfiguration setS3MaxConnections(int s3MaxConnections)
    • getS3ConnectionTimeout

      public int getS3ConnectionTimeout()
    • setS3ConnectionTimeout

      public StorageConfiguration setS3ConnectionTimeout(int s3ConnectionTimeout)
    • getS3SocketTimeout

      public int getS3SocketTimeout()
    • setS3SocketTimeout

      public StorageConfiguration setS3SocketTimeout(int s3SocketTimeout)
    • getS3RequestTimeout

      public int getS3RequestTimeout()
    • setS3RequestTimeout

      public StorageConfiguration setS3RequestTimeout(int s3RequestTimeout)
    • getS3ClientExecutionTimeout

      public int getS3ClientExecutionTimeout()
    • setS3ClientExecutionTimeout

      public StorageConfiguration setS3ClientExecutionTimeout(int s3ClientExecutionTimeout)
    • getTapeLibraryConfiguration

      public TapeLibraryConfiguration getTapeLibraryConfiguration()
    • setTapeLibraryConfiguration

      public StorageConfiguration setTapeLibraryConfiguration(TapeLibraryConfiguration tapeLibraryConfiguration)
    • getSwiftNbRetries

      public int getSwiftNbRetries()
    • setSwiftNbRetries

      public StorageConfiguration setSwiftNbRetries(int swiftNbRetries)
    • getSwiftWaitingTimeInMilliseconds

      public int getSwiftWaitingTimeInMilliseconds()
    • setSwiftWaitingTimeInMilliseconds

      public StorageConfiguration setSwiftWaitingTimeInMilliseconds(int swiftWaitingTimeInMilliseconds)
    • getSwiftRandomRangeSleepInMilliseconds

      public int getSwiftRandomRangeSleepInMilliseconds()
    • setSwiftRandomRangeSleepInMilliseconds

      public StorageConfiguration setSwiftRandomRangeSleepInMilliseconds(int swiftRandomRangeSleepInMilliseconds)
    • getEnableCustomHeaders

      public Boolean getEnableCustomHeaders()
    • setEnableCustomHeaders

      public void setEnableCustomHeaders(Boolean enableCustomHeaders)
    • getCustomHeaders

      public List<VitamCustomizedHeader> getCustomHeaders()
    • setCustomHeaders

      public void setCustomHeaders(List<VitamCustomizedHeader> customHeaders)
    • getBaseUrl

      public String getBaseUrl()