Class StorageOffer
java.lang.Object
fr.gouv.vitam.storage.engine.common.referential.model.StorageOffer
Define a Storage offer configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
boolean
boolean
void
setAsyncRead
(boolean asyncRead) void
setBaseUrl
(String baseUrl) void
setEnabled
(boolean enable) void
void
setParameters
(Map<String, String> parameters) void
setStatus
(ActivationStatus status) principally, updated byStorageStrategy
configuration 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 byStorageStrategy
configuration 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)
-