Class BlobStorePublisher.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- jenkins.plugins.jclouds.blobstore.BlobStorePublisher.DescriptorImpl
-
- Enclosing class:
- BlobStorePublisher
public static final class BlobStorePublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
- See Also:
Descriptor
-
-
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()
DescriptorImpl(Class<? extends Publisher> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(StaplerRequest req, net.sf.json.JSONObject formData)
ListBoxModel
doFillProfileNameItems()
String
getDisplayName()
BlobStoreProfile[]
getProfiles()
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, 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
-
-
-
-
Method Detail
-
getDisplayName
public String 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
public void setProfiles(List<BlobStoreProfile> newProfiles)
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
public BlobStoreProfile[] getProfiles()
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
doFillProfileNameItems
public ListBoxModel doFillProfileNameItems()
-
-