Class ClassicUpload.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<AbstractUpload>
-
- com.google.jenkins.plugins.storage.AbstractUploadDescriptor
-
- com.google.jenkins.plugins.storage.ClassicUpload.DescriptorImpl
-
- Enclosing class:
- ClassicUpload
@Extension public static class ClassicUpload.DescriptorImpl extends AbstractUploadDescriptor
Denotes this is anAbstractUpload
plugin
-
-
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 DescriptorImpl()
DescriptorImpl(Class<? extends ClassicUpload> clazz)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckPattern(String pattern)
This callback validates thepattern
input field's values.String
getDisplayName()
static FormValidation
staticDoCheckPattern(String pattern)
This callback validates thepattern
input field's values.-
Methods inherited from class com.google.jenkins.plugins.storage.AbstractUploadDescriptor
doCheckBucket, doCheckBucketNameWithVars, 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, 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()
-
DescriptorImpl
public DescriptorImpl(Class<? extends ClassicUpload> clazz)
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<AbstractUpload>
-
staticDoCheckPattern
public static FormValidation staticDoCheckPattern(@QueryParameter String pattern)
This callback validates thepattern
input field's values.- Parameters:
pattern
- The glob of files to upload, which potentially contains unresolved symbols, such as $JOB_NAME and $BUILD_NUMBER.- Returns:
- Valid form validation result or error message if invalid.
-
doCheckPattern
public FormValidation doCheckPattern(@QueryParameter String pattern)
This callback validates thepattern
input field's values.- Parameters:
pattern
- The glob of files to upload, which potentially contains unresolved symbols, such as $JOB_NAME and $BUILD_NUMBER.- Returns:
- Valid form validation result or error message if invalid.
-
-