Class ScoreConfig.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<ScoreConfig>
-
- org.jenkinsci.plugins.sonargerrit.gerrit.ScoreConfig.DescriptorImpl
-
- Enclosing class:
- ScoreConfig
@Extension public static class ScoreConfig.DescriptorImpl extends Descriptor<ScoreConfig>
-
-
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 String
CATEGORY
static Integer
NO_ISSUES_SCORE
static Integer
SOME_ISSUES_SCORE
-
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
doCheckCategory(String value)
Performs on-the-fly validation of the form field 'category'.FormValidation
doCheckIssuesScore(String value)
Performs on-the-fly validation of the form field 'issuesScore'.FormValidation
doCheckNoIssuesScore(String value)
Performs on-the-fly validation of the form field 'noIssuesScore'.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
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
NO_ISSUES_SCORE
public static final Integer NO_ISSUES_SCORE
-
SOME_ISSUES_SCORE
public static final Integer SOME_ISSUES_SCORE
-
-
Method Detail
-
doCheckNoIssuesScore
public FormValidation doCheckNoIssuesScore(@QueryParameter String value)
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
public FormValidation doCheckIssuesScore(@QueryParameter String value)
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
public FormValidation doCheckCategory(@QueryParameter String value)
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
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<ScoreConfig>
-
-