Package cdc.issues.answers
Enum Class IssueStatus
- All Implemented Interfaces:
Serializable,Comparable<IssueStatus>,Constable
Enumeration of possible issue statues.
- 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 was marked asRESOLVEDand has disappeared.A user reviewed anOPENissue and confirmed it.
Its resolution depends on internal actions.The issue has been detected, is not yet resolved, and no user action has been taken.The issue was marked asRESOLVEDandIssueResolution.FIXEDby a user, but is still detected.The issue is considered as resolved.A user reviewed an open or confirmed issue and indicated that its resolution depends on external actions. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCompliantWith(IssueResolution resolution) static IssueStatusReturns the enum constant of this class with the specified name.static IssueStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPEN
The issue has been detected, is not yet resolved, and no user action has been taken. -
CONFIRMED
A user reviewed anOPENissue and confirmed it.
Its resolution depends on internal actions. -
WAITING
A user reviewed an open or confirmed issue and indicated that its resolution depends on external actions. -
RESOLVED
The issue is considered as resolved.Its resolution must be
IssueResolution.FIXED,IssueResolution.FALSE_POSITIVEorIssueResolution.WONT_FIX. -
REOPENED
The issue was marked asRESOLVEDandIssueResolution.FIXEDby a user, but is still detected. -
CLOSED
The issue was marked asRESOLVEDand has disappeared.
-
-
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
-
isCompliantWith
- Parameters:
resolution- The resolution.- Returns:
trueifresolutionis compliant with this status.
-