org.aitools.programd
Enum Core.Status

java.lang.Object
  extended by java.lang.Enum<Core.Status>
      extended by org.aitools.programd.Core.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Core.Status>
Enclosing class:
Core

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

Possible values for status.


Enum Constant Summary
CRASHED
          The Core has crashed.
INITIALIZED
          The Core has been properly intialized (internal, by constructor).
NOT_STARTED
          The Core has not yet started.
READY
          The Core has been properly set up (external, by user).
SHUT_DOWN
          The Core has shut down.
 
Method Summary
static Core.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Core.Status[] 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

NOT_STARTED

public static final Core.Status NOT_STARTED
The Core has not yet started.


INITIALIZED

public static final Core.Status INITIALIZED
The Core has been properly intialized (internal, by constructor).


READY

public static final Core.Status READY
The Core has been properly set up (external, by user).


SHUT_DOWN

public static final Core.Status SHUT_DOWN
The Core has shut down.


CRASHED

public static final Core.Status CRASHED
The Core has crashed.

Method Detail

values

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

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

valueOf

public static Core.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
java.lang.NullPointerException - if the argument is null