Package cdc.issues.answers
Enum Class IssueResolution
- All Implemented Interfaces:
Serializable,Comparable<IssueResolution>,Constable
Enumeration of possible issue resolutions.
- Author:
- Damien Carbonne
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe issue is a false positive.The issue has been fixed.The issue has disappeared.The issue is unresolved.For any reason, the issue won't be fixed. -
Method Summary
Modifier and TypeMethodDescriptionstatic IssueResolutionReturns the enum constant of this class with the specified name.static IssueResolution[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNRESOLVED
The issue is unresolved. -
FIXED
The issue has been fixed.Its status must be
IssueStatus.RESOLVEDorIssueStatus.CLOSED.This should be set automatically or by a user.
-
REMOVED
The issue has disappeared.Its status must be
IssueStatus.CLOSED.This should be set automatically.
-
FALSE_POSITIVE
The issue is a false positive.This may be due to the rule detection being imperfect, or an inappropriate rule.
Its status must be
IssueStatus.RESOLVEDorIssueStatus.CLOSED.This can only be set by a user.
-
WONT_FIX
For any reason, the issue won't be fixed.Its status must be
IssueStatus.RESOLVEDorIssueStatus.CLOSED.This can only be set by a user.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-