Class ThrottleJobProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
hudson.plugins.throttleconcurrents.ThrottleJobProperty.DescriptorImpl
- Enclosing class:
- ThrottleJobProperty
@Extension
@Symbol("throttleJobProperty")
public static final class ThrottleJobProperty.DescriptorImpl
extends JobPropertyDescriptor
-
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 TypeMethodDescriptionvoid
addThrottledPipelineForCategory
(String runId, String flowNodeId, String category, TaskListener listener) boolean
configure
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) doCheckCategoryName
(String value) doCheckMaxConcurrentTotal
(String value) doFillCategoryItems
(Item item) getCategoryByName
(String categoryName) getThrottledPipelinesForCategory
(String category) boolean
isApplicable
(Class<? extends Job> jobType) boolean
isMatrixProject
(Job<?, ?> job) void
load()
void
removeAllFromPipelineRunForCategory
(String runId, String category, TaskListener listener) void
removeThrottledPipelineForCategory
(String runId, String flowNodeId, String category, TaskListener listener) void
save()
void
setCategories
(List<ThrottleJobProperty.ThrottleCategory> categories) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstance, newInstance
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
isApplicable
- Overrides:
isApplicable
in classJobPropertyDescriptor
-
isMatrixProject
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<JobProperty<?>>
- Throws:
Descriptor.FormException
-
doCheckCategoryName
-
doCheckMaxConcurrentPerNode
-
doCheckMaxConcurrentTotal
-
getCategoryByName
-
setCategories
-
getCategories
-
doFillCategoryItems
-
load
public void load()- Specified by:
load
in interfaceLoadable
- Overrides:
load
in classDescriptor<JobProperty<?>>
-
save
public void save()- Specified by:
save
in interfaceSaveable
- Overrides:
save
in classDescriptor<JobProperty<?>>
-
getThrottledPipelinesForCategory
-
addThrottledPipelineForCategory
public void addThrottledPipelineForCategory(@NonNull String runId, @NonNull String flowNodeId, @NonNull String category, TaskListener listener) -
removeThrottledPipelineForCategory
public void removeThrottledPipelineForCategory(@NonNull String runId, @NonNull String flowNodeId, @NonNull String category, TaskListener listener) -
removeAllFromPipelineRunForCategory
public void removeAllFromPipelineRunForCategory(@NonNull String runId, @NonNull String category, TaskListener listener)
-