Class Destination

java.lang.Object
hudson.plugins.s3.Destination
All Implemented Interfaces:
Serializable

public class Destination extends Object implements Serializable
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.
See Also:
  • Field Details

    • bucketName

      public final String bucketName
    • objectName

      public final String objectName
  • Constructor Details

    • Destination

      public Destination(String userBucketName, String fileName)
  • Method Details