Class BlobStoreProfile

java.lang.Object
hudson.model.AbstractDescribableImpl<BlobStoreProfile>
jenkins.plugins.jclouds.blobstore.BlobStoreProfile
All Implemented Interfaces:
Describable<BlobStoreProfile>

public class BlobStoreProfile extends AbstractDescribableImpl<BlobStoreProfile>
Model class for Blobstore profile. User can configure multiple profiles to upload artifacts to different providers.
Author:
Vijay Kiran
  • Constructor Details

  • Method Details

    • 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.