com.mmoui.manager.services
Enum UpdateStatusListener.Status

java.lang.Object
  extended by java.lang.Enum<UpdateStatusListener.Status>
      extended by com.mmoui.manager.services.UpdateStatusListener.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UpdateStatusListener.Status>
Enclosing interface:
UpdateStatusListener

public static enum UpdateStatusListener.Status
extends java.lang.Enum<UpdateStatusListener.Status>

Status codes indicating how the GUI should display the related Updatable component.


Enum Constant Summary
COMPLETE
          Indicates that the update has completed successfully
DISABLED
          Indicates that the update is in a state that should not stand out to the user and has terminated.
ERROR
          Indicates that the update terminated due to a detected error while performing the update process, either within the manager or within the module.
NORMAL
          Indicates a normal (in-progress) state
PENDING
          Indicates that the update is halted, pending information from the user
 
Method Summary
static UpdateStatusListener.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UpdateStatusListener.Status[] 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

NORMAL

public static final UpdateStatusListener.Status NORMAL
Indicates a normal (in-progress) state


COMPLETE

public static final UpdateStatusListener.Status COMPLETE
Indicates that the update has completed successfully


PENDING

public static final UpdateStatusListener.Status PENDING
Indicates that the update is halted, pending information from the user


ERROR

public static final UpdateStatusListener.Status ERROR
Indicates that the update terminated due to a detected error while performing the update process, either within the manager or within the module. Update cancellations are also considered errors.


DISABLED

public static final UpdateStatusListener.Status DISABLED
Indicates that the update is in a state that should not stand out to the user and has terminated. This is useful for uninteresting cases such as when no updates are available.

Method Detail

values

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

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

valueOf

public static UpdateStatusListener.Status 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