Class DownloadStep.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- com.google.jenkins.plugins.storage.DownloadStep.DescriptorImpl
-
- Enclosing class:
- DownloadStep
@Extension @Symbol("googleStorageDownload") public static class DownloadStep.DescriptorImpl extends BuildStepDescriptor<Builder>
Descriptor for the DownloadStep
-
-
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()
Constructor forDownloadStep
's DescriptorImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckBucketUri(String bucketUri)
This callback validates thebucketNameWithVars
input field's values.String
getDisplayName()
UploadModule
getModule()
boolean
isApplicable(Class<? extends AbstractProject> jobType)
Builder
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
-
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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Constructor Detail
-
DescriptorImpl
public DescriptorImpl()
Constructor forDownloadStep
's DescriptorImpl.
-
-
Method Detail
-
getModule
public UploadModule getModule()
- Returns:
- Module for the DescriptorImpl.
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
newInstance
public Builder newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
doCheckBucketUri
public FormValidation doCheckBucketUri(@QueryParameter String bucketUri)
This callback validates thebucketNameWithVars
input field's values.- Parameters:
bucketUri
- Name of the GCS bucket. e.g. gs://MY_BUCKET_NAME- Returns:
- Valid form validation result or error message if invalid.
-
-