Class BlobStoreProfile

    • Method Detail

      • getTrustAll

        public boolean getTrustAll()
      • getProfileName

        public String getProfileName()
        Configured profile.
        Returns:
        - name of the profile.
      • getProviderName

        public String getProviderName()
        Provider Name as per the JClouds Blobstore supported providers.
        Returns:
        - providerName String
      • getEndPointUrl

        public String getEndPointUrl()
        Provider endpoint.
        Returns:
        The endpoint URL.
      • getCredentialsId

        public String getCredentialsId()
        credentials.
        Returns:
        The ID of the credentials object.
      • setCredentialsId

        public void setCredentialsId​(String value)
      • getLocationId

        public String getLocationId()
        location.
        Returns:
        The ID of the selected location.
      • upload

        public void upload​(String container,
                           String path,
                           FilePath filePath)
                    throws IOException,
                           InterruptedException
        Upload the specified file from the
        Parameters:
        container - - The container where the file needs to be uploaded.
        path - - The path in container where the file needs to be uploaded.
        filePath - - the FilePath of the file which needs to be uploaded.
        Throws:
        IOException - if an IO error occurs.
        InterruptedException - If the upload gets interrupted.