@Symbol(value="s3") @Extension public class S3BlobStoreConfig extends io.jenkins.plugins.aws.global_configuration.AbstractAwsGlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
S3BlobStoreConfig() |
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.services.s3.model.Bucket |
createS3Bucket(String name)
create an S3 Bucket.
|
FormValidation |
doCheckContainer(String container) |
FormValidation |
doCheckPrefix(String prefix) |
FormValidation |
doCreateS3Bucket(String container,
String prefix) |
FormValidation |
doValidateS3BucketConfig(String container,
String prefix) |
static S3BlobStoreConfig |
get() |
String |
getContainer() |
String |
getDisplayName() |
String |
getPrefix() |
boolean |
isDeleteArtifacts() |
boolean |
isDeleteStashes() |
void |
setContainer(String container) |
void |
setPrefix(String prefix) |
getCategory, processExceptionMessageall, configure, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic String getContainer()
@DataBoundSetter public void setContainer(String container)
public String getPrefix()
@DataBoundSetter public void setPrefix(String prefix)
public boolean isDeleteArtifacts()
public boolean isDeleteStashes()
@Nonnull public String getDisplayName()
getDisplayName in class Descriptor<GlobalConfiguration>@Nonnull public static S3BlobStoreConfig get()
public FormValidation doCheckContainer(@QueryParameter String container)
public FormValidation doCheckPrefix(@QueryParameter String prefix)
public com.amazonaws.services.s3.model.Bucket createS3Bucket(String name) throws IOException
name - name of the S3 Bucket.IOException - in case of error obtaining the credentials, in other kind of errors it will throw the
runtime exceptions are thrown by createBucket method.public FormValidation doCreateS3Bucket(@QueryParameter String container, @QueryParameter String prefix)
public FormValidation doValidateS3BucketConfig(@QueryParameter String container, @QueryParameter String prefix)
Copyright © 2016–2019. All rights reserved.