Class Configuration

java.lang.Object
org.gcube.contentmanager.storageclient.wrapper.Configuration

public class Configuration extends Object
  • Field Details

  • Constructor Details

    • Configuration

      public Configuration(String sc, String sn, String scopeString, String owner, String clientID, String accessType, String memory)
      Loads all the configuration parameters in a java object
      Parameters:
      sc - : service class of the remote resource
      sn - service name of the remote resource
      scopeString - string that identifies the scope
      owner - user of the client library
      clientID -
      accessType - indicates the type of access to the storage
      memory - indicates the type of memory used by the storage: Persistent or Volatile
    • Configuration

      public Configuration(String sc, String sn, String scopeString, String owner, String clientID, String accessType, String memory, String backend)
      Loads all the configuration parameters in a java object for a specific backend
      Parameters:
      sc - : service class of the remote resource
      sn - service name of the remote resource
      scopeString - string that identifies the scope
      owner - user of the client library
      clientID -
      accessType - indicates the type of access to the storage
      memory - indicates the type of memory used by the storage: Persistent or Volatile
  • Method Details

    • getConfiguration

      public void getConfiguration()
      Retrieve a valid configuration from IS for instantiating the engine
    • getOptionalPropertiesFromRR

      protected void getOptionalPropertiesFromRR(org.gcube.contentmanagement.blobstorage.service.impl.ServiceEngine engine)
    • retrieveEncryptionPhrase

      @Deprecated public String retrieveEncryptionPhrase() throws Exception
      Deprecated.
      Throws:
      Exception
    • retrieveEncryptionField

      public String retrieveEncryptionField(String fieldName) throws Exception
      Throws:
      Exception
    • getClientID

      public String getClientID()
    • setClientID

      public void setClientID(String clientID)
    • getTypeAccess

      public String getTypeAccess()
    • setTypeAccess

      public void setTypeAccess(String typeAccess)
    • getMemoryType

      public String getMemoryType()
    • setMemoryType

      public void setMemoryType(String memoryType)
    • getOwner

      public String getOwner()
    • setOwner

      public void setOwner(String owner)
    • getServer

      public String getServer()
    • setServer

      public void setServer(String server)
    • getEnvironment

      public String getEnvironment()
    • setEnvironment

      public void setEnvironment(String server)
    • getScopeString

      public String getScopeString()
    • setScopeString

      public void setScopeString(String scopeString)
    • getRRScope

      public String getRRScope()
    • setRRScope

      public void setRRScope(String rRScope)
    • getBackendType

      public String getBackendType()
    • setBackendType

      public void setBackendType(String backendType)
    • getVolatileHost

      public String[] getVolatileHost()
    • setVolatileHost

      public void setVolatileHost(String[] volatileHost)
    • getPersistentHosts

      public String[] getPersistentHosts()
    • setPersistentHosts

      public void setPersistentHosts(String[] hosts)
    • getUser

      public String getUser()
    • setUser

      public void setUser(String user)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getPassPhrase

      public String getPassPhrase()
    • setPassPhrase

      public void setPassPhrase(String passPhrase)
    • getResolverHost

      public String getResolverHost()
    • setResolverHost

      public void setResolverHost(String resolverHost)
    • getSc

      public String getSc()
    • setSc

      public void setSc(String sc)
    • getSn

      public String getSn()
    • setSn

      public void setSn(String sn)
    • getRegion

      public String getRegion()
    • setRegion

      public void setRegion(String region)