org.infinispan.cli.interpreter.result
Enum ResultKeys

java.lang.Object
  extended by java.lang.Enum<ResultKeys>
      extended by org.infinispan.cli.interpreter.result.ResultKeys
All Implemented Interfaces:
Serializable, Comparable<ResultKeys>

public enum ResultKeys
extends Enum<ResultKeys>

ResultKeys.

Since:
5.2
Author:
Tristan Tarrant

Enum Constant Summary
CACHE
           
ERROR
           
OUTPUT
           
STACKTRACE
           
 
Method Summary
static ResultKeys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResultKeys[] 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

CACHE

public static final ResultKeys CACHE

ERROR

public static final ResultKeys ERROR

STACKTRACE

public static final ResultKeys STACKTRACE

OUTPUT

public static final ResultKeys OUTPUT
Method Detail

values

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

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

valueOf

public static ResultKeys 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 JBoss, a division of Red Hat. All Rights Reserved.