com.cisco.provisioning.cpe.constants
Enum ProvStatusType

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

public enum ProvStatusType
extends Enum<ProvStatusType>

An enumeration of the ProvStatusType to indicate the type of an API status object.


Enum Constant Summary
BATCH_STATUS_TYPE
          Status type representing a BatchStatus object
COMMAND_STATUS_TYPE
          Status type representing a CommandStatus object
PROVISIONING_EXCEPTION_TYPE
          API Status object is a ProvisioningException object
UNKNOWN_STATUS_TYPE
          Status type representing an unknown type of API Status object
 
Method Summary
static ProvStatusType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProvStatusType[] 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

UNKNOWN_STATUS_TYPE

public static final ProvStatusType UNKNOWN_STATUS_TYPE
Status type representing an unknown type of API Status object


BATCH_STATUS_TYPE

public static final ProvStatusType BATCH_STATUS_TYPE
Status type representing a BatchStatus object


COMMAND_STATUS_TYPE

public static final ProvStatusType COMMAND_STATUS_TYPE
Status type representing a CommandStatus object


PROVISIONING_EXCEPTION_TYPE

public static final ProvStatusType PROVISIONING_EXCEPTION_TYPE
API Status object is a ProvisioningException object

Method Detail

values

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

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

valueOf

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