hudson.plugins.s3
Class Destination

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

public class Destination
extends Object

Provides a way to construct a destination bucket name and object name based on the bucket name provided by the user. The convention implemented here is that a / in a bucket name is used to construct a structure in the object name. That is, a put of file.txt to bucket name of "mybucket/v1" will cause the object "v1/file.txt" to be created in the mybucket.


Field Summary
 String bucketName
           
 String objectName
           
 
Constructor Summary
Destination(String userBucketName, String fileName)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bucketName

public final String bucketName

objectName

public final String objectName
Constructor Detail

Destination

public Destination(String userBucketName,
                   String fileName)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012. All Rights Reserved.