org.kohsuke.jnt
Enum IssueStatus

java.lang.Object
  extended by java.lang.Enum<IssueStatus>
      extended by org.kohsuke.jnt.IssueStatus
All Implemented Interfaces:
Serializable, Comparable<IssueStatus>

public enum IssueStatus
extends Enum<IssueStatus>

Status of an issue.

Author:
Kohsuke Kawaguchi

Enum Constant Summary
CLOSED
          The issue is considered dead, the resolution is correct.
NEW
          This issue has recently been added to the assignee's list of issues and must be processed.
REOPENED
          This issue was once resolved, but the resolution was deemed incorrect.
RESOLVED
          A resolution has been taken, and it is awaiting verification by QA.
STARTED
          This issue is not yet resolved, but is assigned to the proper person.
UNCONFIRMED
          This issue has recently been added to the database.
VERIFIED
          QA has looked at the issue and the resolution and agrees that the appropriate resolution has been taken.
 
Field Summary
 boolean needsWork
          True for UNCONFIRMED, NEW, STARTED, and REOPENED.
 
Method Summary
static IssueStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IssueStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNCONFIRMED

public static final IssueStatus UNCONFIRMED
This issue has recently been added to the database. No one has validated that this issue is true. Users who have the "Project Issue Tracking - Change" permission set may confirm this issue, changing its state to NEW. Or, it may be directly resolved and marked RESOLVED.


NEW

public static final IssueStatus NEW
This issue has recently been added to the assignee's list of issues and must be processed. Issues in this state may be accepted, and become STARTED, passed on to someone else, and remain NEW, or resolved and marked RESOLVED.


STARTED

public static final IssueStatus STARTED
This issue is not yet resolved, but is assigned to the proper person. From here issues can be given to another person and become NEW, or resolved and become RESOLVED.


REOPENED

public static final IssueStatus REOPENED
This issue was once resolved, but the resolution was deemed incorrect. For example, a WORKSFORME issue is REOPENED when more information shows up and the issue is now reproducible. From here issues are either marked STARTED or RESOLVED.


RESOLVED

public static final IssueStatus RESOLVED
A resolution has been taken, and it is awaiting verification by QA. From here issues are either re-opened and become REOPENED, are marked VERIFIED, or are closed for good and marked CLOSED.


VERIFIED

public static final IssueStatus VERIFIED
QA has looked at the issue and the resolution and agrees that the appropriate resolution has been taken. Issues remain in this state until the product they were reported against is actually released, at which point they become CLOSED.


CLOSED

public static final IssueStatus CLOSED
The issue is considered dead, the resolution is correct. A closed issue can be reactivated by marking it REOPENED.

Field Detail

needsWork

public final boolean needsWork
True for UNCONFIRMED, NEW, STARTED, and REOPENED. This indicates that the issue needs to be acted on by the developers. False for other status, indicating that the issue needs to be acted on by the user, or the work has been completed.

Method Detail

values

public static IssueStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IssueStatus c : IssueStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IssueStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2003-2009 Kohsuke Kawaguchi. All Rights Reserved.