tigase.server
Enum Command.Action

java.lang.Object
  extended by java.lang.Enum<Command.Action>
      extended by tigase.server.Command.Action
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Command.Action>
Enclosing class:
Command

public static enum Command.Action
extends java.lang.Enum<Command.Action>


Enum Constant Summary
cancel
           
complete
           
execute
           
next
           
other
           
prev
           
 
Method Summary
static Command.Action valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Command.Action[] 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

execute

public static final Command.Action execute

cancel

public static final Command.Action cancel

prev

public static final Command.Action prev

next

public static final Command.Action next

complete

public static final Command.Action complete

other

public static final Command.Action other
Method Detail

values

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

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

valueOf

public static Command.Action 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


Copyright © 2008 Tigase. All Rights Reserved.