net.refractions.udig.core.enums
Enum Resolution

java.lang.Object
  extended by java.lang.Enum<Resolution>
      extended by net.refractions.udig.core.enums.Resolution
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Resolution>

public enum Resolution
extends java.lang.Enum<Resolution>

Indicates whether a situation is resolved(fixed), unresolved or unknown.

Since:
1.0.0
Author:
jones

Enum Constant Summary
IN_PROGRESS
          The user has looked at the situation
RESOLVED
          The situation has been resolved
UNKNOWN
          User input is required to determine whether the situation has been resolved
UNRESOLVED
          The situation has yet to be resolved
 
Method Summary
static Resolution valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Resolution[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNRESOLVED

public static final Resolution UNRESOLVED
The situation has yet to be resolved


IN_PROGRESS

public static final Resolution IN_PROGRESS
The user has looked at the situation


RESOLVED

public static final Resolution RESOLVED
The situation has been resolved


UNKNOWN

public static final Resolution UNKNOWN
User input is required to determine whether the situation has been resolved

Method Detail

values

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

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

valueOf

public static Resolution valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name