Package jenkins.plugins.itemstorage.s3
Class S3ItemStorage
- All Implemented Interfaces:
ExtensionPoint
,Describable<ItemStorage<S3ObjectPath>>
,Serializable
S3 implementation of the Item Storage extension point.
- Author:
- Peter Hayes
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionS3ItemStorage
(String credentialsId, String bucketName, String prefix, String region) -
Method Summary
Modifier and TypeMethodDescriptiongetObjectPath
(Item item, String path) Given an item and path, return an ObjectPath implementation for itgetObjectPathForBranch
(Item item, String path, String branch) Given an item, a path and a branch, return an ObjectPath implementation for itMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
S3ItemStorage
-
-
Method Details
-
getBucketName
-
getPrefix
-
getRegion
-
getCredentialsId
-
getObjectPath
Description copied from class:ItemStorage
Given an item and path, return an ObjectPath implementation for it- Specified by:
getObjectPath
in classItemStorage<S3ObjectPath>
- Parameters:
item
- The item to associate the path withpath
- The path scoped by the item- Returns:
- The ObjectPath to act upon that path
-
getObjectPathForBranch
Description copied from class:ItemStorage
Given an item, a path and a branch, return an ObjectPath implementation for it- Specified by:
getObjectPathForBranch
in classItemStorage<S3ObjectPath>
- Parameters:
item
- The item to associate the path withpath
- The path scoped by the itembranch
- The branch for which to get the object path for- Returns:
- The ObjectPath to act upon that path
-