Class StdoutUploadStep.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.google.jenkins.plugins.storage.StdoutUploadStep.DescriptorImpl
-
- Enclosing class:
- StdoutUploadStep
@Extension @Symbol("googleStorageBuildLogUpload") public static class StdoutUploadStep.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor forStdoutUploadStep
-
-
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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckBucket(String bucket)
This callback validates thebucket
input field's values.static FormValidation
doCheckLogName(String logName)
This callback validates thelogName
input field's values.String
getDisplayName()
boolean
isApplicable(Class<? extends AbstractProject> jobType)
Publisher
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
-
-
-
-
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)
This callback validates thebucket
input field's values.- Parameters:
bucket
- GCS bucket to upload build logs to.- Returns:
- Valid form validation result or error message if invalid.
-
doCheckLogName
public static 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.
-
newInstance
public Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
-