com.simba.dsi.dataengine.utilities
Enum ExecutionContextStatus

java.lang.Object
  extended by java.lang.Enum<ExecutionContextStatus>
      extended by com.simba.dsi.dataengine.utilities.ExecutionContextStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExecutionContextStatus>

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


Enum Constant Summary
ERROR
          Status indicated that the execution context executed unsuccessfully.
NOT_EXECUTED
          Status indicating that the execution context has not been executed.
SUCCESS
          Status indicating that the execution context executed successfully.
 
Method Summary
static ExecutionContextStatus getEnumByValue(int value)
          Get the ExecutionContextStatus that matches the input value.
 int getIntValue()
          Get the The ExecutionContextStatus number.
static ExecutionContextStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExecutionContextStatus[] 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 ExecutionContextStatus SUCCESS
Status indicating that the execution context executed successfully.


NOT_EXECUTED

public static final ExecutionContextStatus NOT_EXECUTED
Status indicating that the execution context has not been executed.


ERROR

public static final ExecutionContextStatus ERROR
Status indicated that the execution context executed unsuccessfully.

Method Detail

values

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

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

valueOf

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

getEnumByValue

public static ExecutionContextStatus getEnumByValue(int value)
Get the ExecutionContextStatus that matches the input value. An unknown input will result in a null ExecutionContextStatus being returned.

Parameters:
value - The value of the ExecutionContextStatus.
Returns:
The ExecutionContextStatus that matches the value.

getIntValue

public int getIntValue()
Get the The ExecutionContextStatus number.

Returns:
ExecutionContextStatus number.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.