com.amoebaman.kitmaster.enums
Enum GenericResult

java.lang.Object
  extended by java.lang.Enum<GenericResult>
      extended by com.amoebaman.kitmaster.enums.GenericResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GenericResult>

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


Enum Constant Summary
CONDITIONAL
          Depends on circumstances
EXCEPTION
          Something unexpected occurred
NO
          No
YES
          Yes
 
Field Summary
 boolean bool
          The general evaluation of this result
 
Method Summary
static GenericResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GenericResult[] 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

YES

public static final GenericResult YES
Yes


NO

public static final GenericResult NO
No


CONDITIONAL

public static final GenericResult CONDITIONAL
Depends on circumstances


EXCEPTION

public static final GenericResult EXCEPTION
Something unexpected occurred

Field Detail

bool

public boolean bool
The general evaluation of this result

Method Detail

values

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

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

valueOf

public static GenericResult 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