com.almende.eve.agent.example
Enum TestAgentInterface.STATUS

java.lang.Object
  extended by java.lang.Enum<TestAgentInterface.STATUS>
      extended by com.almende.eve.agent.example.TestAgentInterface.STATUS
All Implemented Interfaces:
Serializable, Comparable<TestAgentInterface.STATUS>
Enclosing interface:
TestAgentInterface

public static enum TestAgentInterface.STATUS
extends Enum<TestAgentInterface.STATUS>


Enum Constant Summary
BAD
           
FAILED
           
GOOD
           
OK
           
SUCCESS
           
WRONG
           
 
Method Summary
static TestAgentInterface.STATUS valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TestAgentInterface.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

GOOD

public static final TestAgentInterface.STATUS GOOD

BAD

public static final TestAgentInterface.STATUS BAD

OK

public static final TestAgentInterface.STATUS OK

WRONG

public static final TestAgentInterface.STATUS WRONG

FAILED

public static final TestAgentInterface.STATUS FAILED

SUCCESS

public static final TestAgentInterface.STATUS SUCCESS
Method Detail

values

public static TestAgentInterface.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 (TestAgentInterface.STATUS c : TestAgentInterface.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 TestAgentInterface.STATUS valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013 Almende BV. All Rights Reserved.