jenkins.plugins.jclouds.blobstore
Class BlobStoreProfile

java.lang.Object
  extended by jenkins.plugins.jclouds.blobstore.BlobStoreProfile

public class BlobStoreProfile
extends Object

Model class for Blobstore profile. User can configure multiple profiles to upload artifacts to different providers.

Author:
Vijay Kiran

Constructor Summary
BlobStoreProfile(String profileName, String providerName, String identity, String credential)
           
 
Method Summary
 String getCredential()
          Cloud provider credential.
 String getIdentity()
          Cloud provider identity.
 String getProfileName()
          Configured profile.
 String getProviderName()
          Provider Name as per the JClouds Blobstore supported providers.
 void upload(String container, hudson.FilePath filePath)
          Upload the specified file from the to container
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobStoreProfile

@DataBoundConstructor
public BlobStoreProfile(String profileName,
                                             String providerName,
                                             String identity,
                                             String credential)
Method Detail

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

getIdentity

public String getIdentity()
Cloud provider identity.

Returns:

getCredential

public String getCredential()
Cloud provider credential.

Returns:

upload

public void upload(String container,
                   hudson.FilePath filePath)
            throws IOException,
                   InterruptedException
Upload the specified file from the to container

Parameters:
container - - The container where the file need to uploaded.
filePath - - the FilePath of the file which needs to be uploaded.
Throws:
IOException
InterruptedException


Copyright © 2004-2012. All Rights Reserved.