@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class S3BlobStore extends BlobStoreProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
S3BlobStore.DescriptorImpl |
BlobStoreProvider.HttpMethod| Constructor and Description |
|---|
S3BlobStore() |
| Modifier and Type | Method and Description |
|---|---|
S3BlobStoreConfig |
getConfiguration() |
String |
getContainer()
A constant for the blob container name to use.
|
org.jclouds.blobstore.BlobStoreContext |
getContext()
Creates the jclouds handle for working with blob.
|
String |
getPrefix()
A constant for the blob path prefix to use.
|
String |
getRegion() |
boolean |
isDeleteArtifacts()
A constant to define whether we should delete artifacts or leave them to be managed on the blob service side.
|
boolean |
isDeleteStashes()
A constant to define whether we should delete stashes or leave them to be managed on the blob service side.
|
URL |
toExternalURL(org.jclouds.blobstore.domain.Blob blob,
BlobStoreProvider.HttpMethod httpMethod)
Generate a URL valid for downloading OR uploading the blob for a limited period of time
|
String |
toString() |
URI |
toURI(String container,
String key)
Get a provider-specific URI.
|
getDescriptorpublic String getPrefix()
BlobStoreProvidergetPrefix in class BlobStoreProviderpublic String getContainer()
BlobStoreProvidergetContainer in class BlobStoreProviderpublic String getRegion()
public S3BlobStoreConfig getConfiguration()
public boolean isDeleteArtifacts()
BlobStoreProviderisDeleteArtifacts in class BlobStoreProviderpublic boolean isDeleteStashes()
BlobStoreProviderisDeleteStashes in class BlobStoreProviderpublic org.jclouds.blobstore.BlobStoreContext getContext()
throws IOException
BlobStoreProvidergetContext in class BlobStoreProviderIOException@Nonnull public URI toURI(@NonNull String container, @NonNull String key)
BlobStoreProvidertoURI in class BlobStoreProvidercontainer - container where this exists.key - fully qualified name relative to the container.public URL toExternalURL(@NonNull org.jclouds.blobstore.domain.Blob blob, @NonNull BlobStoreProvider.HttpMethod httpMethod) throws IOException
BlobStoreProvidertoExternalURL in class BlobStoreProviderblob - blob to generate the URL forhttpMethod - HTTP method to create a URL for (downloads or uploads)IOExceptionCopyright © 2016–2020. All rights reserved.