Class NaginatorPublisher.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.chikli.hudson.plugin.naginator.NaginatorPublisher.DescriptorImpl
-
- Enclosing class:
- NaginatorPublisher
@Extension public static final class NaginatorPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor forNaginatorPublisher
. 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.
-
-
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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
FormValidation
doCheckRegexpForMatrixStrategy(RegexpForMatrixStrategy value, boolean rerunMatrixPart)
ListBoxModel
doFillRegexpForMatrixStrategyItems()
String
getDisplayName()
This human readable name is used in the configuration screen.long
getRegexpTimeoutMs()
boolean
isApplicable(Class<? extends AbstractProject> jobType)
boolean
isMatrixProject(Object it)
void
setRegexpTimeoutMs(long regexpTimeoutMs)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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
-
getRegexpTimeoutMs
public long getRegexpTimeoutMs()
- Returns:
- timeout for regular expressions.
- Since:
- 1.16.1
-
setRegexpTimeoutMs
public void setRegexpTimeoutMs(long regexpTimeoutMs)
- Parameters:
regexpTimeoutMs
- timeout for regular expressions.- Since:
- 1.16.1
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
- See Also:
Descriptor.configure(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)
-
getDisplayName
@NonNull public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
isMatrixProject
public boolean isMatrixProject(Object it)
- Returns:
- true if the current request is for a matrix project.
-
doCheckRegexpForMatrixStrategy
public FormValidation doCheckRegexpForMatrixStrategy(@QueryParameter RegexpForMatrixStrategy value, @QueryParameter boolean rerunMatrixPart)
-
doFillRegexpForMatrixStrategyItems
public ListBoxModel doFillRegexpForMatrixStrategyItems()
-
-