@Extension(ordinal=2.147483147E9) public static class FlexiblePublisher.FlexiblePublisherDescriptor extends BuildStepDescriptor<Publisher>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
FlexiblePublisherDescriptor() |
FlexiblePublisherDescriptor(PublisherDescriptorLister publisherLister) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
static DescriptorExtensionList<PublisherDescriptorLister,Descriptor<PublisherDescriptorLister>> |
getAllPublisherDescriptorListers() |
String |
getDisplayName() |
PublisherDescriptorLister |
getPublisherLister() |
boolean |
isApplicable(Class<? extends AbstractProject> aClass) |
FlexiblePublisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Build a new instance from parameters a user input in a configuration page.
|
Object |
readResolve() |
filteraddHelpFileRedirect, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap@DataBoundConstructor public FlexiblePublisherDescriptor(PublisherDescriptorLister publisherLister)
public FlexiblePublisherDescriptor()
public static DescriptorExtensionList<PublisherDescriptorLister,Descriptor<PublisherDescriptorLister>> getAllPublisherDescriptorListers()
public PublisherDescriptorLister getPublisherLister()
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
configure in class Descriptor<Publisher>Descriptor.FormExceptionpublic String getDisplayName()
getDisplayName in class Descriptor<Publisher>public boolean isApplicable(Class<? extends AbstractProject> aClass)
isApplicable in class BuildStepDescriptor<Publisher>public Object readResolve()
public FlexiblePublisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
StaplerRequest.bindJSON(Class, JSONObject),
and DataBoundConstructor of classes of posted objects.
But we have to use Descriptor.newInstance(StaplerRequest, JSONObject)
for classes without DataBoundConstructor (such as old versions of hudson.tasks.Mailer)
and classes with Descriptor.newInstance(StaplerRequest, JSONObject)
doing different from their constructors with DataBoundConstructor
(such as JUnitResultArchiver).newInstance in class Descriptor<Publisher>req - formData - Descriptor.FormExceptionDescriptor.newInstance(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject),
FlexiblePublisher.FlexiblePublisher(List)Copyright © 2016–2021. All rights reserved.