Class IssueResolution
-
- All Implemented Interfaces:
public final class IssueResolutionDefines the resolution of an Issue. This can be used to silence false positives, or issues that have been identified as not being relevant.
-
-
Constructor Summary
Constructors Constructor Description IssueResolution(String message, IssueResolutionReason reason, String comment)
-
Method Summary
Modifier and Type Method Description final StringgetMessage()A regular expression string to match the messages of issues to resolve. final IssueResolutionReasongetReason()The reason why the issue is resolved. final StringgetComment()A comment to further explain why the reason is applicable here. final Booleanmatches(Issue issue)True if message matches the message of issue. -
-
Constructor Detail
-
IssueResolution
IssueResolution(String message, IssueResolutionReason reason, String comment)
-
-
Method Detail
-
getMessage
final String getMessage()
A regular expression string to match the messages of issues to resolve. Whitespace in the message will be collapsed and it will be converted to a Regex using RegexOption.DOT_MATCHES_ALL.
-
getReason
final IssueResolutionReason getReason()
The reason why the issue is resolved.
-
getComment
final String getComment()
A comment to further explain why the reason is applicable here.
-
-
-
-