public abstract class AbstractUploadDescriptor extends hudson.model.Descriptor<AbstractUpload>
Modifier and Type | Field and Description |
---|---|
static String |
GCS_SCHEME
The URI "scheme" that prefixes GCS URIs
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractUploadDescriptor(Class<? extends AbstractUpload> clazz)
Boilerplate, see:
https://wiki.jenkins-ci.org/display/JENKINS/Defining+a+new+extension+point
|
protected |
AbstractUploadDescriptor(Class<? extends AbstractUpload> clazz,
UploadModule module)
Create the descriptor of the Upload from it's type on associated module
for instantiating dependencies.
|
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckBucket(String bucket) |
hudson.util.FormValidation |
doCheckBucketNameWithVars(String bucketNameWithVars) |
UploadModule |
getModule()
Retrieve the module to use for instantiating dependencies
for instances described by this descriptor.
|
AbstractUpload |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
static hudson.util.FormValidation |
staticDoCheckBucket(String bucketNameWithVars)
This callback validates the
bucketNameWithVars input field's
values. |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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 static final String GCS_SCHEME
protected AbstractUploadDescriptor(Class<? extends AbstractUpload> clazz, UploadModule module)
protected AbstractUploadDescriptor(Class<? extends AbstractUpload> clazz)
public UploadModule getModule()
public static hudson.util.FormValidation staticDoCheckBucket(String bucketNameWithVars) throws IOException
bucketNameWithVars
input field's
values.IOException
public hudson.util.FormValidation doCheckBucketNameWithVars(@QueryParameter String bucketNameWithVars) throws IOException
IOException
public hudson.util.FormValidation doCheckBucket(@QueryParameter String bucket) throws IOException
IOException
public AbstractUpload newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance
in class hudson.model.Descriptor<AbstractUpload>
hudson.model.Descriptor.FormException
Copyright © 2016–2017. All rights reserved.