@Extension @Symbol(value="googleStorageBuildLogUpload") public static class StdoutUploadStep.DescriptorImpl extends BuildStepDescriptor<Publisher>
StdoutUploadStep
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckBucket(String bucket)
This callback validates the
bucket input field's values. |
static FormValidation |
doCheckLogName(String logName)
This callback validates the
logName input field's values. |
String |
getDisplayName() |
boolean |
isApplicable(Class<? extends AbstractProject> jobType) |
Publisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
filter
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class Descriptor<Publisher>
public boolean isApplicable(Class<? extends AbstractProject> jobType)
isApplicable
in class BuildStepDescriptor<Publisher>
public FormValidation doCheckBucket(@QueryParameter String bucket)
bucket
input field's values.bucket
- GCS bucket to upload build logs to.public static FormValidation doCheckLogName(@QueryParameter String logName)
logName
input field's values.logName
- Name for the build log that will be uploaded to the GCS bucket.public Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
newInstance
in class Descriptor<Publisher>
Descriptor.FormException
Copyright © 2016–2019. All rights reserved.