@Extension @Symbol(value="buildBlocker") public static final class BuildBlockerProperty.BuildBlockerDescriptor extends JobPropertyDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
BuildBlockerDescriptor() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckRegex(String blockingJobs)
Check the regular expression entered by the user
|
String |
getDisplayName()
Returns the name to be shown on the website
|
boolean |
isApplicable(Class<? extends Job> jobType)
Returns always true as it can be used in all types of jobs.
|
all, getPropertyDescriptors, newInstance
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<JobProperty<?>>
public FormValidation doCheckRegex(@QueryParameter String blockingJobs)
public boolean isApplicable(Class<? extends Job> jobType)
isApplicable
in class JobPropertyDescriptor
jobType
- the job type to be checked if this property is applicable.Copyright © 2016–2023. All rights reserved.