Class StorageOffer


  • public class StorageOffer
    extends java.lang.Object
    Define a Storage offer configuration
    • Constructor Detail

      • StorageOffer

        public StorageOffer()
    • 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
      • 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()
      • notAsyncRead

        public boolean notAsyncRead()
      • setAsyncRead

        public void setAsyncRead​(boolean asyncRead)