Class StorageOffer
java.lang.Object
fr.gouv.vitam.storage.engine.common.referential.model.StorageOffer
Define a Storage offer configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanbooleanvoidsetAsyncRead(boolean asyncRead) voidsetBaseUrl(String baseUrl) voidsetEnabled(boolean enable) voidvoidsetParameters(Map<String, String> parameters) voidsetStatus(ActivationStatus status) principally, updated byStorageStrategyconfiguration and prevail upon offers configuration file
-
Constructor Details
-
StorageOffer
public StorageOffer()
-
-
Method Details
-
getBaseUrl
- Returns:
- the base url
-
setBaseUrl
- Parameters:
baseUrl- url set to storage offer
-
getParameters
- Returns:
- the parameters
-
setParameters
- Parameters:
parameters- map of parameters set to offer
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- to set to offer
-
getStatus
- Returns:
- the status
-
setStatus
principally, updated byStorageStrategyconfiguration and prevail upon offers configuration file- Parameters:
status- to set
-
setEnabled
public void setEnabled(boolean enable) -
isEnabled
public boolean isEnabled() -
isAsyncRead
public boolean isAsyncRead() -
setAsyncRead
public void setAsyncRead(boolean asyncRead)
-