@Immutable public static enum ResultCodes.ConfigureQueueResult extends Enum<ResultCodes.ConfigureQueueResult> implements ResultCodes.ConfigureQueueCode
Enum Constant and Description |
---|
ALREADY_IN_PROGRESS |
CANCELED |
INVALID_ARGUMENT |
INVALID_QUEUE |
NOT_CONNECTED |
NOT_READY |
NOT_SUPPORTED |
REFUSED |
SUCCESS |
TIMEOUT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
ResultCodes.GenericResult |
getGeneralResult() |
ResultCodes.ConfigureQueueResult |
getOperationResult() |
static ResultCodes.ConfigureQueueResult |
upcast(ResultCodes.GenericCode code) |
static ResultCodes.ConfigureQueueResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultCodes.ConfigureQueueResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isAlreadyInProgress, isInvalidQueue
isCanceled, isFailure, isInvalidArgument, isNotConnected, isNotReady, isNotSupproted, isRefused, isSuccess, isTimeout, isUnknown
public static final ResultCodes.ConfigureQueueResult SUCCESS
public static final ResultCodes.ConfigureQueueResult UNKNOWN
public static final ResultCodes.ConfigureQueueResult TIMEOUT
public static final ResultCodes.ConfigureQueueResult NOT_CONNECTED
public static final ResultCodes.ConfigureQueueResult CANCELED
public static final ResultCodes.ConfigureQueueResult NOT_SUPPORTED
public static final ResultCodes.ConfigureQueueResult REFUSED
public static final ResultCodes.ConfigureQueueResult INVALID_ARGUMENT
public static final ResultCodes.ConfigureQueueResult NOT_READY
public static final ResultCodes.ConfigureQueueResult ALREADY_IN_PROGRESS
public static final ResultCodes.ConfigureQueueResult INVALID_QUEUE
public static ResultCodes.ConfigureQueueResult[] values()
for (ResultCodes.ConfigureQueueResult c : ResultCodes.ConfigureQueueResult.values()) System.out.println(c);
public static ResultCodes.ConfigureQueueResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ResultCodes.GenericResult getGeneralResult()
getGeneralResult
in interface ResultCodes.GenericCode
public ResultCodes.ConfigureQueueResult getOperationResult()
getOperationResult
in interface ResultCodes.OperationResultCode<ResultCodes.ConfigureQueueResult>
@Nonnull public static ResultCodes.ConfigureQueueResult upcast(ResultCodes.GenericCode code)
Copyright © 2023 Bloomberg L.P.. All rights reserved.