Class NonAWSS3ItemStorage

All Implemented Interfaces:
ExtensionPoint, Describable<ItemStorage<S3ObjectPath>>, Serializable

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

    • NonAWSS3ItemStorage

      @DataBoundConstructor public NonAWSS3ItemStorage(String credentialsId, String bucketName, String prefix, String endpoint, String region, String signerVersion, boolean pathStyleAccess, boolean parallelDownloads)
  • Method Details

    • getBucketName

      public String getBucketName()
    • getPrefix

      public String getPrefix()
    • getEndpoint

      public String getEndpoint()
    • getRegion

      public String getRegion()
    • getCredentialsId

      public String getCredentialsId()
    • getSignerVersion

      public String getSignerVersion()
    • getPathStyleAccess

      public boolean getPathStyleAccess()
    • getParallelDownloads

      public boolean getParallelDownloads()
    • getObjectPath

      public S3ObjectPath getObjectPath(Item item, String path)
      Description copied from class: ItemStorage
      Given an item and path, return an ObjectPath implementation for it
      Specified by:
      getObjectPath in class ItemStorage<S3ObjectPath>
      Parameters:
      item - The item to associate the path with
      path - The path scoped by the item
      Returns:
      The ObjectPath to act upon that path
    • getObjectPathForBranch

      public S3ObjectPath getObjectPathForBranch(Item item, String path, String branch)
      Description copied from class: ItemStorage
      Given an item, a path and a branch, return an ObjectPath implementation for it
      Specified by:
      getObjectPathForBranch in class ItemStorage<S3ObjectPath>
      Parameters:
      item - The item to associate the path with
      path - The path scoped by the item
      branch - The branch for which to get the object path for
      Returns:
      The ObjectPath to act upon that path