Class StdoutUpload.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<AbstractUpload>
-
- com.google.jenkins.plugins.storage.AbstractUploadDescriptor
-
- com.google.jenkins.plugins.storage.StdoutUpload.DescriptorImpl
-
- Enclosing class:
- StdoutUpload
@Extension public static class StdoutUpload.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 StdoutUpload> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckLogName(String logName)
This callback validates thelogName
input field's values.String
getDisplayName()
-
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 StdoutUpload> clazz)
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<AbstractUpload>
-
doCheckLogName
public FormValidation doCheckLogName(@QueryParameter String logName)
This callback validates thelogName
input field's values.- Parameters:
logName
- Name for the build log that will be uploaded to the GCS bucket.- Returns:
- Valid form validation result or error message if invalid.
-
-