edu.sdsc.inca.protocol
Enum MessageHandler.PermitteeGroup

java.lang.Object
  extended by java.lang.Enum<MessageHandler.PermitteeGroup>
      extended by edu.sdsc.inca.protocol.MessageHandler.PermitteeGroup
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MessageHandler.PermitteeGroup>
Enclosing class:
MessageHandler

public static enum MessageHandler.PermitteeGroup
extends java.lang.Enum<MessageHandler.PermitteeGroup>


Enum Constant Summary
PEER
           
STANDARD
           
 
Method Summary
static MessageHandler.PermitteeGroup valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MessageHandler.PermitteeGroup[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STANDARD

public static final MessageHandler.PermitteeGroup STANDARD

PEER

public static final MessageHandler.PermitteeGroup PEER
Method Detail

values

public static final MessageHandler.PermitteeGroup[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MessageHandler.PermitteeGroup c : MessageHandler.PermitteeGroup.values())
        System.out.println(c);

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

valueOf

public static MessageHandler.PermitteeGroup 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