@Extension
public static final class NaginatorPublisher.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
NaginatorPublisher. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See views/hudson/plugins/naginator/NaginatorBuilder/*.jelly for the actual HTML fragment for the configuration screen.
| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckRegexpForMatrixStrategy(RegexpForMatrixStrategy value,
boolean rerunMatrixPart) |
hudson.util.ListBoxModel |
doFillRegexpForMatrixStrategyItems() |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
long |
getRegexpTimeoutMs() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
boolean |
isMatrixProject(Object it) |
hudson.tasks.Notifier |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Creates a new instance of
NaginatorPublisher from a submitted form. |
void |
setRegexpTimeoutMs(long regexpTimeoutMs) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic long getRegexpTimeoutMs()
public void setRegexpTimeoutMs(long regexpTimeoutMs)
regexpTimeoutMs - timeout for regular expressions.public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionDescriptor.configure(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public hudson.tasks.Notifier newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
NaginatorPublisher from a submitted form.newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic boolean isMatrixProject(Object it)
public hudson.util.FormValidation doCheckRegexpForMatrixStrategy(@QueryParameter
RegexpForMatrixStrategy value,
@QueryParameter
boolean rerunMatrixPart)
public hudson.util.ListBoxModel doFillRegexpForMatrixStrategyItems()
Copyright © 2016–2019. All rights reserved.