Package hudson.plugins.buildblocker
Class BuildBlockerProperty.BuildBlockerDescriptor
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
hudson.plugins.buildblocker.BuildBlockerProperty.BuildBlockerDescriptor
- Enclosing class:
- BuildBlockerProperty
@Extension
@Symbol("buildBlocker")
public static final class BuildBlockerProperty.BuildBlockerDescriptor
extends JobPropertyDescriptor
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
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckRegex
(String blockingJobs) Check the regular expression entered by the userReturns the name to be shown on the websiteboolean
isApplicable
(Class<? extends Job> jobType) Returns always true as it can be used in all types of jobs.Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstance
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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
-
Constructor Details
-
BuildBlockerDescriptor
public BuildBlockerDescriptor()
-
-
Method Details
-
getDisplayName
Returns the name to be shown on the website- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
- Returns:
- the name to be shown on the website.
-
doCheckRegex
Check the regular expression entered by the user -
isApplicable
Returns always true as it can be used in all types of jobs.- Overrides:
isApplicable
in classJobPropertyDescriptor
- Parameters:
jobType
- the job type to be checked if this property is applicable.- Returns:
- true
-