Class AssetViolationConfigDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<AssetViolationConfig>
-
- io.jenkins.plugins.google.analyze.code.security.violationConfig.AssetViolationConfigDescriptor
-
- Direct Known Subclasses:
CriticalSeverityConfig.DescriptorImpl
,HighSeverityConfig.DescriptorImpl
,LowSeverityConfig.DescriptorImpl
,MediumSeverityConfig.DescriptorImpl
public abstract class AssetViolationConfigDescriptor extends Descriptor<AssetViolationConfig>
AssetViolationConfigDescriptor is base class for Asset Violation Config 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 Constructor Description AssetViolationConfigDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCount(Integer count)
Validate Violation Count for non-null and positive integer.-
Methods 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, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
doCheckCount
public FormValidation doCheckCount(@QueryParameter Integer count)
Validate Violation Count for non-null and positive integer.- Parameters:
count
- violation frequency threshold for determining build failure.- Returns:
- FormValidation
-
-