com.cisco.provisioning.cpe.extensions.configuration
Enum ServiceLevelAccess

java.lang.Object
  extended by java.lang.Enum<ServiceLevelAccess>
      extended by com.cisco.provisioning.cpe.extensions.configuration.ServiceLevelAccess
All Implemented Interfaces:
Serializable, Comparable<ServiceLevelAccess>

public enum ServiceLevelAccess
extends Enum<ServiceLevelAccess>

Enumerated type for specifying the type of access that was granted to a device.


Enum Constant Summary
DEFAULT
          The device was granted default access.
OTHER
          The device was granted some non-standard type of access.
PROMISCUOUS
          The device was granted promiscuous access.
REGISTERED
          The device was granted registered access.
RESERVED_0
          Reserved for future use.
 
Method Summary
static ServiceLevelAccess valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ServiceLevelAccess[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RESERVED_0

public static final ServiceLevelAccess RESERVED_0
Reserved for future use.


DEFAULT

public static final ServiceLevelAccess DEFAULT
The device was granted default access.


OTHER

public static final ServiceLevelAccess OTHER
The device was granted some non-standard type of access. This can be used by custom service level selection extensions that have their own concepts of access.


PROMISCUOUS

public static final ServiceLevelAccess PROMISCUOUS
The device was granted promiscuous access.


REGISTERED

public static final ServiceLevelAccess REGISTERED
The device was granted registered access.

Method Detail

values

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

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

valueOf

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