Class S3ItemStorage

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.plugins.itemstorage.ItemStorage<T>>
jenkins.plugins.itemstorage.ItemStorage<S3ObjectPath>
jenkins.plugins.itemstorage.s3.S3ItemStorage
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.plugins.itemstorage.ItemStorage<S3ObjectPath>>, Serializable

public class S3ItemStorage extends jenkins.plugins.itemstorage.ItemStorage<S3ObjectPath>
S3 implementation of the Item Storage extension point.
Author:
Peter Hayes
See Also:
  • Constructor Details

    • S3ItemStorage

      @DataBoundConstructor public S3ItemStorage(String credentialsId, String bucketName, String prefix, String region)
  • Method Details

    • getBucketName

      public String getBucketName()
    • getPrefix

      public String getPrefix()
    • getRegion

      public String getRegion()
    • getCredentialsId

      public String getCredentialsId()
    • getObjectPath

      public S3ObjectPath getObjectPath(Item item, String path)
      Specified by:
      getObjectPath in class jenkins.plugins.itemstorage.ItemStorage<S3ObjectPath>
    • getObjectPathForBranch

      public S3ObjectPath getObjectPathForBranch(Item item, String path, String branch)
      Specified by:
      getObjectPathForBranch in class jenkins.plugins.itemstorage.ItemStorage<S3ObjectPath>