Class AbstractBucketLifecycleManagerDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<AbstractUpload>
-
- com.google.jenkins.plugins.storage.AbstractUploadDescriptor
-
- com.google.jenkins.plugins.storage.AbstractBucketLifecycleManagerDescriptor
-
- Direct Known Subclasses:
ExpiringBucketLifecycleManager.DescriptorImpl
public abstract class AbstractBucketLifecycleManagerDescriptor extends AbstractUploadDescriptor
The descriptor for our newAbstractBucketLifecycleManager
extension point.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class com.google.jenkins.plugins.storage.AbstractUploadDescriptor
GCS_SCHEME
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description AbstractBucketLifecycleManagerDescriptor(Class<? extends AbstractBucketLifecycleManager> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckBucketNameWithVars(String bucketNameWithVars)
This specialized override of the bucket name form validation disallows multi-part storage prefixes (just the bucket name).-
Methods inherited from class com.google.jenkins.plugins.storage.AbstractUploadDescriptor
doCheckBucket, getModule, newInstance, staticDoCheckBucket
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Constructor Detail
-
AbstractBucketLifecycleManagerDescriptor
public AbstractBucketLifecycleManagerDescriptor(Class<? extends AbstractBucketLifecycleManager> clazz)
-
-
Method Detail
-
doCheckBucketNameWithVars
public FormValidation doCheckBucketNameWithVars(@QueryParameter String bucketNameWithVars) throws IOException
This specialized override of the bucket name form validation disallows multi-part storage prefixes (just the bucket name).- Overrides:
doCheckBucketNameWithVars
in classAbstractUploadDescriptor
- Parameters:
bucketNameWithVars
- GCS bucket.- Returns:
- Valid form validation result or error message if invalid.
- Throws:
IOException
- If there was an issue validating the bucket.
-
-