hudson.plugins.s3
Class S3Profile

java.lang.Object
  extended by hudson.plugins.s3.S3Profile

public class S3Profile
extends Object


Constructor Summary
S3Profile()
           
S3Profile(String name, String accessKey, String secretKey)
           
 
Method Summary
 void check()
           
 String getAccessKey()
           
 com.amazonaws.services.s3.AmazonS3Client getClient()
           
 String getName()
           
 String getSecretKey()
           
 void setAccessKey(String accessKey)
           
 void setName(String name)
           
 void setSecretKey(String secretKey)
           
 void upload(String bucketName, hudson.FilePath filePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S3Profile

public S3Profile()

S3Profile

@DataBoundConstructor
public S3Profile(String name,
                                      String accessKey,
                                      String secretKey)
Method Detail

getAccessKey

public final String getAccessKey()

setAccessKey

public void setAccessKey(String accessKey)

getSecretKey

public final String getSecretKey()

setSecretKey

public void setSecretKey(String secretKey)

getName

public final String getName()

setName

public void setName(String name)

getClient

public com.amazonaws.services.s3.AmazonS3Client getClient()

check

public void check()
           throws Exception
Throws:
Exception

upload

public void upload(String bucketName,
                   hudson.FilePath filePath)
            throws IOException,
                   InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2012. All Rights Reserved.