Class ReviewConfig.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ReviewConfig>
org.jenkinsci.plugins.sonargerrit.gerrit.ReviewConfig.DescriptorImpl
- Enclosing class:
- ReviewConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ReviewCommentType
static final String
static final boolean
static final String
static final String
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPerforms on-the-fly validation of the form field 'issueCommentTemplate'.Performs on-the-fly validation of the form field 'noIssuesTitleTemplate'.Performs on-the-fly validation of the form field 'someIssuesTitleTemplate'.getCommentTypeDisplayName
(ReviewCommentType commentType) 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
-
DEFAULT_COMMENT_TYPE
-
NO_ISSUES_TITLE_TEMPLATE
-
SOME_ISSUES_TITLE_TEMPLATE
-
ISSUE_COMMENT_TEMPLATE
-
ISSUE_OMIT_DUPLICATE_COMMENTS
public static final boolean ISSUE_OMIT_DUPLICATE_COMMENTS- See Also:
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getCommentTypeDisplayName
-
doCheckNoIssuesTitleTemplate
Performs on-the-fly validation of the form field 'noIssuesTitleTemplate'.- 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.
-
doCheckSomeIssuesTitleTemplate
Performs on-the-fly validation of the form field 'someIssuesTitleTemplate'.- 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.
-
doCheckIssueCommentTemplate
Performs on-the-fly validation of the form field 'issueCommentTemplate'.- 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<ReviewConfig>
-