public class StorageOffer extends Object
Constructor and Description |
---|
StorageOffer() |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl() |
String |
getId() |
Map<String,String> |
getParameters() |
ActivationStatus |
getStatus() |
boolean |
isAsyncRead() |
boolean |
isEnabled() |
boolean |
notAsyncRead() |
void |
setAsyncRead(boolean asyncRead) |
void |
setBaseUrl(String baseUrl) |
void |
setEnabled(boolean enable) |
void |
setId(String id) |
void |
setParameters(Map<String,String> parameters) |
void |
setStatus(ActivationStatus status)
principally, updated by
StorageStrategy configuration and prevail upon offers configuration file |
public String getBaseUrl()
public void setBaseUrl(String baseUrl)
baseUrl
- url set to storage offerpublic void setParameters(Map<String,String> parameters)
parameters
- map of parameters set to offerpublic String getId()
public void setId(String id)
id
- to set to offerpublic ActivationStatus getStatus()
public void setStatus(ActivationStatus status)
StorageStrategy
configuration and prevail upon offers configuration filestatus
- to setpublic void setEnabled(boolean enable)
public boolean isEnabled()
public boolean isAsyncRead()
public boolean notAsyncRead()
public void setAsyncRead(boolean asyncRead)
Copyright © 2019 Vitam. All rights reserved.