Class ExpiringBucketLifecycleManagerStep.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManagerStep.DescriptorImpl
-
- Enclosing class:
- ExpiringBucketLifecycleManagerStep
@Extension @Symbol("googleStorageBucketLifecycle") public static class ExpiringBucketLifecycleManagerStep.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor forExpiringBucketLifecycleManagerStep
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckBucket(String bucket)
This callback validates thebucket
input field's values.String
getDisplayName()
boolean
isApplicable(Class<? extends AbstractProject> jobType)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
doCheckBucket
public FormValidation doCheckBucket(@QueryParameter String bucket) throws IOException
This callback validates thebucket
input field's values.- Parameters:
bucket
- GCS Bucket in which to alter the time to live.- Returns:
- Valid form validation result or error message if invalid.
- Throws:
IOException
- If there was an issue validating the bucket provided.
-
-