@Extension public static class ThresholdCondition.DescriptorImpl extends hudson.model.Descriptor<ThresholdCondition>
ThresholdCondition
.Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckApplicationId(String teamServerProfileName,
String value)
Validation of the 'applicationId' form Field.
|
hudson.util.FormValidation |
doCheckThresholdCount(String value)
Validation of the 'thresholdCount' form Field.
|
hudson.util.FormValidation |
doCheckThresholdSeverity(String value)
Validation of the 'thresholdSeverity' form Field.
|
hudson.util.FormValidation |
doCheckThresholdVulnType(String value)
Validation of the 'thresholdCategory' form Field.
|
hudson.util.ListBoxModel |
doFillAgentTypeItems() |
hudson.util.ComboBoxModel |
doFillApplicationIdItems(String teamServerProfileName)
Fills the Threshold Category combo box with application ids.
|
hudson.util.ListBoxModel |
doFillThresholdSeverityItems()
Fills the Threshold Severity select drop down with severities for the configured application.
|
hudson.util.ListBoxModel |
doFillThresholdVulnTypeItems(String teamServerProfileName)
Fills the Threshold Category select drop down with vulnerability types for the configured profile.
|
String |
getDisplayName()
Display name in the Build Action dropdown.
|
void |
refreshApps(String teamServerProfileName) |
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public hudson.util.FormValidation doCheckThresholdCount(@QueryParameter String value)
value
- This parameter receives the value that the user has typed.public hudson.util.FormValidation doCheckThresholdSeverity(@QueryParameter String value)
value
- This parameter receives the value that the user has typed.public hudson.util.FormValidation doCheckThresholdVulnType(@QueryParameter String value)
value
- This parameter receives the value that the user has typed.public hudson.util.FormValidation doCheckApplicationId(@QueryParameter(value="teamServerProfileName") @RelativePath(value="..") String teamServerProfileName, @QueryParameter String value)
value
- This parameter receives the value that the user has typed.public hudson.util.ComboBoxModel doFillApplicationIdItems(@QueryParameter(value="teamServerProfileName") @RelativePath(value="..") String teamServerProfileName)
public void refreshApps(String teamServerProfileName)
public hudson.util.ListBoxModel doFillAgentTypeItems()
public hudson.util.ListBoxModel doFillThresholdVulnTypeItems(@QueryParameter(value="teamServerProfileName") @RelativePath(value="..") String teamServerProfileName) throws IOException
IOException
public hudson.util.ListBoxModel doFillThresholdSeverityItems()
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<ThresholdCondition>
Copyright © 2016–2022. All rights reserved.