@Extension @Symbol(value="throttleJobProperty") public static final class ThrottleJobProperty.DescriptorImpl extends JobPropertyDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
all, getPropertyDescriptors, newInstanceaddHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, self, toArray, toList, toMappublic String getDisplayName()
getDisplayName in class Descriptor<JobProperty<?>>public boolean isApplicable(Class<? extends Job> jobType)
isApplicable in class JobPropertyDescriptorpublic boolean isMatrixProject(Job job)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws Descriptor.FormException
configure in class Descriptor<JobProperty<?>>Descriptor.FormExceptionpublic FormValidation doCheckCategoryName(@QueryParameter String value)
public FormValidation doCheckMaxConcurrentPerNode(@QueryParameter String value)
public FormValidation doCheckMaxConcurrentTotal(@QueryParameter String value)
public ThrottleJobProperty.ThrottleCategory getCategoryByName(String categoryName)
public void setCategories(List<ThrottleJobProperty.ThrottleCategory> categories)
public List<ThrottleJobProperty.ThrottleCategory> getCategories()
public ListBoxModel doFillCategoryItems()
public void load()
load in class Descriptor<JobProperty<?>>public void save()
save in interface Saveablesave in class Descriptor<JobProperty<?>>@Nonnull public Map<String,List<String>> getThrottledPipelinesForCategory(@Nonnull String category)
public void addThrottledPipelineForCategory(@Nonnull String runId, @Nonnull String flowNodeId, @Nonnull String category, TaskListener listener)
public void removeThrottledPipelineForCategory(@Nonnull String runId, @Nonnull String flowNodeId, @Nonnull String category, TaskListener listener)
public void removeAllFromPipelineRunForCategory(@Nonnull String runId, @Nonnull String category, TaskListener listener)
Copyright © 2016–2020. All rights reserved.