@Extension public static class ConditionalPublisher.ConditionalPublisherDescriptor extends Descriptor<ConditionalPublisher>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
ConditionalPublisherDescriptor() |
Modifier and Type | Method and Description |
---|---|
List<? extends Descriptor<? extends BuildStep>> |
getAllowedPublishers(Object project) |
DescriptorExtensionList<org.jenkins_ci.plugins.run_condition.BuildStepRunner,org.jenkins_ci.plugins.run_condition.BuildStepRunner.BuildStepRunnerDescriptor> |
getBuildStepRunners() |
org.jenkins_ci.plugins.run_condition.BuildStepRunner.BuildStepRunnerDescriptor |
getDefaultBuildStepRunner() |
Descriptor<? extends BuildStep> |
getDefaultPublisher() |
org.jenkins_ci.plugins.run_condition.RunCondition.RunConditionDescriptor |
getDefaultRunCondition() |
String |
getDisplayName() |
List<? extends Descriptor<? extends ConditionalExecutionStrategy>> |
getExecutionStrategies() |
List<? extends Descriptor<? extends org.jenkins_ci.plugins.run_condition.RunCondition>> |
getRunConditions() |
boolean |
isMatrixProject(Object it) |
ConditionalPublisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Build a new instance from parameters a user input in a configuration page.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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
public String getDisplayName()
getDisplayName
in class Descriptor<ConditionalPublisher>
public DescriptorExtensionList<org.jenkins_ci.plugins.run_condition.BuildStepRunner,org.jenkins_ci.plugins.run_condition.BuildStepRunner.BuildStepRunnerDescriptor> getBuildStepRunners()
public org.jenkins_ci.plugins.run_condition.BuildStepRunner.BuildStepRunnerDescriptor getDefaultBuildStepRunner()
public List<? extends Descriptor<? extends org.jenkins_ci.plugins.run_condition.RunCondition>> getRunConditions()
public org.jenkins_ci.plugins.run_condition.RunCondition.RunConditionDescriptor getDefaultRunCondition()
public List<? extends Descriptor<? extends BuildStep>> getAllowedPublishers(Object project)
public Descriptor<? extends BuildStep> getDefaultPublisher()
public boolean isMatrixProject(Object it)
public List<? extends Descriptor<? extends ConditionalExecutionStrategy>> getExecutionStrategies()
public ConditionalPublisher 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<ConditionalPublisher>
req
- formData
- Descriptor.FormException
Descriptor.newInstance(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)
,
ConditionalPublisher.ConditionalPublisher(RunCondition, BuildStep, BuildStepRunner, boolean, RunCondition, BuildStepRunner)
Copyright © 2016–2021. All rights reserved.