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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckRegex(String blockingJobs) Check the regular expression entered by the userReturns the name to be shown on the websitebooleanisApplicable(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, newInstanceMethods 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:
getDisplayNamein 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:
isApplicablein classJobPropertyDescriptor- Parameters:
jobType- the job type to be checked if this property is applicable.- Returns:
- true
-