@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, getRequiredGlobalConfigPagePermission, 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–2021. All rights reserved.