|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<BatchStatusCode>
com.cisco.provisioning.cpe.constants.BatchStatusCode
public enum BatchStatusCode
The BatchStatusCode enum specifies a number of constants that are used to interpret the returned batch status.
| Method Summary | |
|---|---|
boolean |
isError()
Helper method. |
boolean |
isSystemError()
Helper method. |
boolean |
isWarning()
Helper method. |
static BatchStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BatchStatusCode[] |
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 |
|---|
public static final BatchStatusCode BATCH_PASSED_VALIDATION
BatchStatus.getStatusCode. Represents a batch
run with ActivationMode.VALIDATE_ONLY, where all commands in the
batch were validated successfully.
public static final BatchStatusCode BATCH_BEING_PROCESSED
BatchStatus.getStatusCode. Represents a batch
whose processing is continuing, but has not yet completed.
public static final BatchStatusCode BATCH_COMPLETED
BatchStatus.getStatusCode. Represents a batch
whose processing has been completed.
public static final BatchStatusCode BATCH_WARNING
BatchStatus.getStatusCode. Represents a batch
whose processing has resulted in a warning. The batch was allowed to
complete in spite of the warning.
public static final BatchStatusCode BATCH_ERROR
BatchStatus.getStatusCode. Represents a batch
whose processing has resulted in an error.
Error status codes will have a value of -2 or less.
public static final BatchStatusCode BATCH_SYSTEM_ERROR
BatchStatus.getStatusCode. Represents a batch
whose processing has resulted in a system error.
public static final BatchStatusCode BATCH_CANNOT_USE_ANONYMOUS_CONNECTION
BatchStatus.getStatusCode. Represents a batch
that cannot be processed because it was send over an anonymous
connection. Only certain configuration commands can be executed via
the anonymous connection.
public static final BatchStatusCode BATCH_INVALID_LICENSES
BatchStatus.getStatusCode. Represents a batch that
contains commands that required technology licenses that have not
been entered into the RDU.
public static final BatchStatusCode BATCH_READONLY_USER_CANNOT_WRITE
BatchStatus.getStatusCode. Represents a batch that
is requested by a readonly user but contains write
commands or system disruption commands such as reset, etc.
public static final BatchStatusCode BATCH_DUPLICATE_ID
BatchStatus.getStatusCode. Represents a batch with
a batchID that is the same as one currently being processed.
public static final BatchStatusCode BATCH_INVALID_OID_REV_NUMBER
BatchStatus.getStatusCode. Represents a batch that
specifies an OID Revision number, via the ensureConsistency() method on
the Batch, that is invalid.
public static final BatchStatusCode BATCH_NOT_CONSISTENT
BatchStatus.getStatusCode. Represents a batch that
specifies at least one OID Revision number, via the ensureConsistency()
method on the Batch, that is no longer consistent. This means the
target object has been modified in some way since it was retrieved.
public static final BatchStatusCode BATCH_FAILED_VALIDATION
BatchStatus.getStatusCode. Represents a batch
whose processing has failed validation.
public static final BatchStatusCode BATCH_FAILED_QUERY
BatchStatus.getStatusCode. Represents a batch
whose processing has failed during the query phase.
public static final BatchStatusCode BATCH_FAILED_WRITE
BatchStatus.getStatusCode. Represents a batch
whose processing has failed during the write phase.
All batch command actions have been rolled back.
public static final BatchStatusCode BATCH_FAILED_PREPARE
BatchStatus.getStatusCode. Represents a batch
whose processing has failed during the prepare phase.
All batch command actions have been rolled back.
public static final BatchStatusCode BATCH_FAILED_ACTIVATE
BatchStatus.getStatusCode. Represents a batch
whose processing has failed during the activate phase.
All batch command actions have been rolled back.
public static final BatchStatusCode BATCH_FAILED_PUBLISH
BatchStatus.getStatusCode. Represents a batch
whose processing has failed during the publish phase.
All batch command actions have been rolled back.
public static final BatchStatusCode BATCH_FAILED_COMMIT
BatchStatus.getStatusCode. Represents a batch
whose processing has failed during the commit phase.
All batch command actions have been rolled back.
public static final BatchStatusCode BATCH_FAILED_EXTENSION_RELOAD
BatchStatus.getStatusCode. Represents a batch whose processing has
failed during the extension reload phase. This means the batch contains
commands that invalidate the configuration of the RDU extension points.
For example, the batch may have changed a property that specifies the
class attached to an extension point to the name of a class that can not
be found, or does not implement the interface required by that extension
point. All batch command actions have been rolled back.
public static final BatchStatusCode BATCH_FAILED_EXTERNAL_WRITE
BatchStatus.getStatusCode. Represents a batch
whose processing has failed during the external write phase.
All batch command actions have been rolled back.
public static final BatchStatusCode BATCH_FAILED_ROLLBACK_EXTERNAL_WRITE
BatchStatus.getStatusCode. Represents a batch
whose processing has failed during the rollback external write phase.
Not all batch command actions have been rolled back.
public static final BatchStatusCode BATCH_FAILED_CONFIGURATION_GENERATION
BatchStatus.getStatusCode. Represents a batch
whose processing has failed configuration generation.
public static final BatchStatusCode BATCH_FAILED_DISRUPTION
BatchStatus.getStatusCode. Represents a batch
whose processing has failed device disruption
public static final BatchStatusCode BATCH_FAILED_NO_DISRUPT_ACTIVATION
BatchStatus.getStatusCode. Represents a batch
whose processing has failed non-disruptive activation.
public static final BatchStatusCode BATCH_ILLEGAL_MULTIPLE_ACTIVATIONS
BatchStatus.getStatusCode. Represents a batch
which requires automatic activation of multiple devices.
This is illegal.
public static final BatchStatusCode BATCH_POST_TIMEOUT
BatchStatus.getStatusCode. Representing a batch
has been posted and the reply has not been recevied in the time
alocated.
public static final BatchStatusCode BATCH_DUPLICATE_DROPPED
BatchStatus.getStatusCode. Represents a batch which
is a duplicate and is dropped from the queue.
public static final BatchStatusCode BATCH_RDU_BUSY
BatchStatus.getStatusCode. Represents that the RDU
is tto busy to queue the request, so the request is being dropped.
public static final BatchStatusCode BATCH_CARDINALITY_EXCEPTION
BatchStatus.getStatusCode. Represents that the
cardinality of the resulting data operations of the batch result in
an invalid combination and cannot be committed permanently.
public static final BatchStatusCode BATCH_IMMEDIATE_OPERATION_ERROR
BatchStatus.getStatusCode.
Indicates an error has occurred when processing a batch with
immediate operations.
public static final BatchStatusCode BATCH_UNRECOGNIZED_BATCH_ID
BatchStatus.getStatusCode.
Indicates an unrecognize batch id used for handling between
the rdu cand the client.
| Method Detail |
|---|
public static BatchStatusCode[] values()
for (BatchStatusCode c : BatchStatusCode.values()) System.out.println(c);
public static BatchStatusCode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isError()
public boolean isWarning()
public boolean isSystemError()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||