Class StorageOffer
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.referential.model.StorageOffer
-
public class StorageOffer extends java.lang.Object
Define a Storage offer configuration
-
-
Constructor Summary
Constructors Constructor Description StorageOffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseUrl()
java.lang.String
getId()
java.util.Map<java.lang.String,java.lang.String>
getParameters()
ActivationStatus
getStatus()
boolean
isAsyncRead()
boolean
isEnabled()
void
setAsyncRead(boolean asyncRead)
void
setBaseUrl(java.lang.String baseUrl)
void
setEnabled(boolean enable)
void
setId(java.lang.String id)
void
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
void
setStatus(ActivationStatus status)
principally, updated byStorageStrategy
configuration and prevail upon offers configuration file
-
-
-
Method Detail
-
getBaseUrl
public java.lang.String getBaseUrl()
- Returns:
- the base url
-
setBaseUrl
public void setBaseUrl(java.lang.String baseUrl)
- Parameters:
baseUrl
- url set to storage offer
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
- Returns:
- the parameters
-
setParameters
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
- Parameters:
parameters
- map of parameters set to offer
-
getId
public java.lang.String getId()
- Returns:
- the id
-
setId
public void setId(java.lang.String id)
- Parameters:
id
- to set to offer
-
getStatus
public ActivationStatus getStatus()
- Returns:
- the status
-
setStatus
public void setStatus(ActivationStatus status)
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)
-
-