java.lang.Object
fr.gouv.vitam.storage.engine.common.referential.model.StorageOffer

public class StorageOffer extends Object
Define a Storage offer configuration
  • Constructor Details

    • StorageOffer

      public StorageOffer()
  • Method Details

    • getBaseUrl

      public String getBaseUrl()
      Returns:
      the base url
    • setBaseUrl

      public void setBaseUrl(String baseUrl)
      Parameters:
      baseUrl - url set to storage offer
    • getParameters

      public Map<String,String> getParameters()
      Returns:
      the parameters
    • setParameters

      public void setParameters(Map<String,String> parameters)
      Parameters:
      parameters - map of parameters set to offer
    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - to set to offer
    • getStatus

      public ActivationStatus getStatus()
      Returns:
      the status
    • setStatus

      public void setStatus(ActivationStatus status)
      principally, updated by StorageStrategy 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)