Package jenkins.plugins.itemstorage.s3
Class NonAWSS3ItemStorage
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ItemStorage<T>>
-
- jenkins.plugins.itemstorage.ItemStorage<S3ObjectPath>
-
- jenkins.plugins.itemstorage.s3.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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NonAWSS3ItemStorage.DescriptorImpl
static class
NonAWSS3ItemStorage.S3ItemListener
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBucketName()
String
getCredentialsId()
String
getEndpoint()
S3ObjectPath
getObjectPath(Item item, String path)
Given an item and path, return an ObjectPath implementation for itS3ObjectPath
getObjectPathForBranch(Item item, String path, String branch)
Given an item, a path and a branch, return an ObjectPath implementation for itboolean
getParallelDownloads()
boolean
getPathStyleAccess()
String
getPrefix()
String
getRegion()
String
getSignerVersion()
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
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 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
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 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
-
-