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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(StaplerRequest2 req, net.sf.json.JSONObject formData) doFillProfileNameItems(AbstractProject project) booleanisApplicable(Class<? extends AbstractProject> aClass) voidsetProfiles(List<BlobStoreProfile> newProfiles) Set profiles.Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<Publisher>
-
configure
public boolean configure(StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configurein 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:
isApplicablein classBuildStepDescriptor<Publisher>
-
doFillProfileNameItems
-