Class IssueFilterConfig.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<IssueFilterConfig>
-
- org.jenkinsci.plugins.sonargerrit.sonar.IssueFilterConfig.DescriptorImpl
-
- Enclosing class:
- IssueFilterConfig
@Extension public static class IssueFilterConfig.DescriptorImpl extends Descriptor<IssueFilterConfig>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
CHANGED_LINES_ONLY
static boolean
NEW_ISSUES_ONLY
static String
SEVERITY
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckSeverity(String value)
Performs on-the-fly validation of the form field 'severity'.String
getDisplayName()
-
Methods inherited from class hudson.model.Descriptor
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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
SEVERITY
public static final String SEVERITY
-
NEW_ISSUES_ONLY
public static final boolean NEW_ISSUES_ONLY
- See Also:
- Constant Field Values
-
CHANGED_LINES_ONLY
public static final boolean CHANGED_LINES_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
doCheckSeverity
public FormValidation doCheckSeverity(@QueryParameter String value)
Performs on-the-fly validation of the form field 'severity'.- Parameters:
value
- This parameter receives the value that the user has typed.- Returns:
- Indicates the outcome of the validation. This is sent to the browser.
Note that returning
FormValidation.error(String)
does not prevent the form from being saved. It just means that a message will be displayed to the user.
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<IssueFilterConfig>
-
-