edu.wisc.ssec.mcidasv.servermanager
Enum AddeEntry.EditorAction

java.lang.Object
  extended by java.lang.Enum<AddeEntry.EditorAction>
      extended by edu.wisc.ssec.mcidasv.servermanager.AddeEntry.EditorAction
All Implemented Interfaces:
Serializable, Comparable<AddeEntry.EditorAction>
Enclosing interface:
AddeEntry

public static enum AddeEntry.EditorAction
extends Enum<AddeEntry.EditorAction>

Represents the possible actions that an ADDE editor can perform.


Enum Constant Summary
ADDED
          Created a new entry; hasn't been verified.
ADDED_VERIFIED
          Created a new, verified entry.
CANCELLED
          Canceled out of creating or editing an entry.
EDITED
          Updated an existing entry without verifying changes.
EDITED_VERIFIED
          Updated an entry and verified the changes.
INVALID
          Editor GUI performed some "invalid" action.
VERIFIED
          Verified the contents of the editor GUI.
 
Method Summary
static AddeEntry.EditorAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AddeEntry.EditorAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADDED

public static final AddeEntry.EditorAction ADDED
Created a new entry; hasn't been verified.


CANCELLED

public static final AddeEntry.EditorAction CANCELLED
Canceled out of creating or editing an entry.


VERIFIED

public static final AddeEntry.EditorAction VERIFIED
Verified the contents of the editor GUI.


ADDED_VERIFIED

public static final AddeEntry.EditorAction ADDED_VERIFIED
Created a new, verified entry.


EDITED

public static final AddeEntry.EditorAction EDITED
Updated an existing entry without verifying changes.


EDITED_VERIFIED

public static final AddeEntry.EditorAction EDITED_VERIFIED
Updated an entry and verified the changes.


INVALID

public static final AddeEntry.EditorAction INVALID
Editor GUI performed some "invalid" action.

Method Detail

values

public static AddeEntry.EditorAction[] 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 (AddeEntry.EditorAction c : AddeEntry.EditorAction.values())
    System.out.println(c);

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

valueOf

public static AddeEntry.EditorAction 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