org.hawk.data.perf
Enum ModuleExcecutionStatusEnum

java.lang.Object
  extended by java.lang.Enum<ModuleExcecutionStatusEnum>
      extended by org.hawk.data.perf.ModuleExcecutionStatusEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModuleExcecutionStatusEnum>

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

This denotes the module's execution status. Normally if subtask excutes with exception, then FAILURE is considered as its status. otherwise SUCCESS.


Enum Constant Summary
FAILURE
          Module that executed with exception.
SUCCESS
          Module that executed without exception.
 
Method Summary
static ModuleExcecutionStatusEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ModuleExcecutionStatusEnum[] 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

SUCCESS

public static final ModuleExcecutionStatusEnum SUCCESS
Module that executed without exception.


FAILURE

public static final ModuleExcecutionStatusEnum FAILURE
Module that executed with exception.

Method Detail

values

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

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

valueOf

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