Class BlobStorePublisher.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
jenkins.plugins.jclouds.blobstore.BlobStorePublisher.DescriptorImpl
- Enclosing class:
- BlobStorePublisher
- See Also:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(StaplerRequest req, net.sf.json.JSONObject formData) boolean
isApplicable
(Class<? extends AbstractProject> aClass) void
setProfiles
(List<BlobStoreProfile> newProfiles) Set profiles.Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
configure
public boolean configure(StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
setProfiles
Set profiles. This method allows managing profiles from within a groovy script like this:// Get credentials from somewhere and build a list of profiles... BlobStorePublisher.DESCRIPTOR.setProfiles(profiles) BlobStorePublisher.DESCRIPTOR.save()
- Parameters:
newProfiles
- A list of BlobStoreProfile.
-
getProfiles
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
doFillProfileNameItems
-