org.eclipse.emf.cdo.session.remote
Enum CDORemoteSessionMessage.Priority

java.lang.Object
  extended by java.lang.Enum<CDORemoteSessionMessage.Priority>
      extended by org.eclipse.emf.cdo.session.remote.CDORemoteSessionMessage.Priority
All Implemented Interfaces:
Serializable, Comparable<CDORemoteSessionMessage.Priority>
Enclosing class:
CDORemoteSessionMessage

public static enum CDORemoteSessionMessage.Priority
extends Enum<CDORemoteSessionMessage.Priority>

Enumerates the possible remote session message priorities.


Enum Constant Summary
HIGH
           
LOW
           
NORMAL
           
VERY_HIGH
           
VERY_LOW
           
 
Method Summary
static CDORemoteSessionMessage.Priority valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CDORemoteSessionMessage.Priority[] 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

VERY_LOW

public static final CDORemoteSessionMessage.Priority VERY_LOW

LOW

public static final CDORemoteSessionMessage.Priority LOW

NORMAL

public static final CDORemoteSessionMessage.Priority NORMAL

HIGH

public static final CDORemoteSessionMessage.Priority HIGH

VERY_HIGH

public static final CDORemoteSessionMessage.Priority VERY_HIGH
Method Detail

values

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

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

valueOf

public static CDORemoteSessionMessage.Priority 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 (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.