bcds.phison.sim
Enum ConnRequestErrorCode

java.lang.Object
  extended by java.lang.Enum<ConnRequestErrorCode>
      extended by bcds.phison.sim.ConnRequestErrorCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConnRequestErrorCode>

public enum ConnRequestErrorCode
extends java.lang.Enum<ConnRequestErrorCode>

Lists the possible outcomes of the processing of a connection creation request.


Enum Constant Summary
NO_BACKUP_PATH
           
NO_WORKING_PATH
           
NONE
           
PATH_TOO_LONG
           
TOO_LOW_AVAILABILITY
           
 
Method Summary
static ConnRequestErrorCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConnRequestErrorCode[] 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

NONE

public static final ConnRequestErrorCode NONE

NO_WORKING_PATH

public static final ConnRequestErrorCode NO_WORKING_PATH

NO_BACKUP_PATH

public static final ConnRequestErrorCode NO_BACKUP_PATH

PATH_TOO_LONG

public static final ConnRequestErrorCode PATH_TOO_LONG

TOO_LOW_AVAILABILITY

public static final ConnRequestErrorCode TOO_LOW_AVAILABILITY
Method Detail

values

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

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

valueOf

public static ConnRequestErrorCode 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