Class ScoreConfig.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ScoreConfig>
org.jenkinsci.plugins.sonargerrit.gerrit.ScoreConfig.DescriptorImpl
- Enclosing class:
- ScoreConfig
-
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
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckCategory
(String value) Performs on-the-fly validation of the form field 'category'.doCheckIssuesScore
(String value) Performs on-the-fly validation of the form field 'issuesScore'.doCheckNoIssuesScore
(String value) Performs on-the-fly validation of the form field 'noIssuesScore'.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 Details
-
CATEGORY
- See Also:
-
NO_ISSUES_SCORE
-
SOME_ISSUES_SCORE
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
doCheckNoIssuesScore
Performs on-the-fly validation of the form field 'noIssuesScore'.- 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.
-
doCheckIssuesScore
Performs on-the-fly validation of the form field 'issuesScore'.- 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.
-
doCheckCategory
Performs on-the-fly validation of the form field 'category'.- 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
- Overrides:
getDisplayName
in classDescriptor<ScoreConfig>
-