Class OfferConfiguration
java.lang.Object
fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
fr.gouv.vitam.common.server.application.configuration.DbConfigurationImpl
fr.gouv.vitam.storage.offers.rest.OfferConfiguration
- All Implemented Interfaces:
DbConfiguration
,VitamApplicationConfiguration
,VitamApplicationConfigurationInterface
Offer configuration
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
IS_A_MANDATORY_PARAMETER, jettyConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
getter authenticationsetAuthentication
(boolean authentication) setBatchMetadataComputationTimeout
(int batchMetadataComputationTimeout) setContextPath
(String contextPath) setMaxBatchThreadPoolSize
(int maxBatchThreadPoolSize) setOfferLogCompactionConfiguration
(OfferLogCompactionConfiguration offerLogCompactionConfiguration) setProvider
(String provider) setStoragePath
(String storagePath) setSwiftDomain
(String swiftDomain) setSwiftKeystoneAuthUrl
(String swiftKeystoneAuthUrl) setSwiftPassword
(String swiftPassword) setSwiftProjectName
(String swiftProjectName) setSwiftUser
(String swiftUser) Methods inherited from class fr.gouv.vitam.common.server.application.configuration.DbConfigurationImpl
getDbName, getDbPassword, getDbUserName, getMongoDbNodes, isDbAuthentication, setDbAuthentication, setDbName, setDbPassword, setDbUserName, setMongoDbNodes
Methods inherited from class fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
getAdminBasicAuth, getJettyConfig, isAuthorizeTrackTotalHits, isEnableSession, isEnableXsrFilter, isTenantFilter, setAdminBasicAuth, setAuthorizeTrackTotalHits, setEnableSession, setEnableXsrFilter, setJettyConfig, setTenantFilter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfiguration
isEnableSession, isEnableXsrFilter, setEnableSession, setEnableXsrFilter
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfigurationInterface
getBaseUri, getBaseUrl, getJettyConfig, isTenantFilter, setBaseUri, setBaseUrl, setJettyConfig, setTenantFilter
-
Constructor Details
-
OfferConfiguration
public OfferConfiguration()
-
-
Method Details
-
getProvider
- Returns:
- the provider
-
setProvider
- Parameters:
provider
- the provider to set- Returns:
- this
-
getSwiftKeystoneAuthUrl
- Returns:
- the swiftKeystoneAuthUrl
-
setSwiftKeystoneAuthUrl
- Parameters:
swiftKeystoneAuthUrl
- the swiftKeystoneAuthUrl to set- Returns:
- this
-
getSwiftDomain
- Returns:
- the tenantName
-
setSwiftDomain
- Parameters:
swiftDomain
- the tenantName to set- Returns:
- this
-
getSwiftUser
- Returns:
- the swiftUser
-
setSwiftUser
- Parameters:
swiftUser
- the userName to set- Returns:
- this
-
getSwiftPassword
- Returns:
- the swiftPassword
-
setSwiftPassword
- Parameters:
swiftPassword
- the swiftPassword to set- Returns:
- this
-
getStoragePath
- Returns:
- the storagePath
-
setStoragePath
- Parameters:
storagePath
- the storagePath to set- Returns:
- this
-
getContextPath
- Returns:
- the contextPath
-
setContextPath
- Parameters:
contextPath
- the contextPath to set- Returns:
- this
-
isAuthentication
public boolean isAuthentication()Description copied from interface:VitamApplicationConfigurationInterface
getter authentication- Specified by:
isAuthentication
in interfaceVitamApplicationConfigurationInterface
- Overrides:
isAuthentication
in classDefaultVitamApplicationConfiguration
- Returns:
- boolean
-
setAuthentication
- Specified by:
setAuthentication
in interfaceVitamApplicationConfigurationInterface
- Overrides:
setAuthentication
in classDefaultVitamApplicationConfiguration
- Parameters:
authentication
- to set or unset- Returns:
- OfferConfiguration
-
getSwiftProjectName
- Returns:
- swiftProjectName
-
setSwiftProjectName
- Parameters:
swiftProjectName
- the swiftProjectName to set or unset- Returns:
- OfferConfiguration
-
getOfferLogCompactionConfiguration
-
setOfferLogCompactionConfiguration
public OfferConfiguration setOfferLogCompactionConfiguration(OfferLogCompactionConfiguration offerLogCompactionConfiguration) -
getMaxBatchThreadPoolSize
public int getMaxBatchThreadPoolSize() -
setMaxBatchThreadPoolSize
-
getBatchMetadataComputationTimeout
public int getBatchMetadataComputationTimeout() -
setBatchMetadataComputationTimeout
-