Class S3ItemStorage

    • Constructor Detail

      • S3ItemStorage

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

      • getBucketName

        public String getBucketName()
      • getPrefix

        public String getPrefix()
      • getRegion

        public String getRegion()
      • getCredentialsId

        public String getCredentialsId()
      • 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