@Immutable public static enum ResultCodes.CloseQueueResult extends Enum<ResultCodes.CloseQueueResult> implements ResultCodes.CloseQueueCode
| Enum Constant and Description |
|---|
ALREADY_CLOSED |
ALREADY_IN_PROGRESS |
CANCELED |
INVALID_ARGUMENT |
INVALID_QUEUE |
NOT_CONNECTED |
NOT_READY |
NOT_SUPPORTED |
REFUSED |
SUCCESS |
TIMEOUT |
UNKNOWN |
UNKNOWN_QUEUE |
| Modifier and Type | Method and Description |
|---|---|
ResultCodes.GenericResult |
getGeneralResult() |
ResultCodes.CloseQueueResult |
getOperationResult() |
static ResultCodes.CloseQueueResult |
upcast(ResultCodes.GenericCode code) |
static ResultCodes.CloseQueueResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultCodes.CloseQueueResult[] |
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, valueOfisAlreadyClosed, isAlreadyInProgress, isInvalidQueue, isUnknownQueueisCanceled, isFailure, isInvalidArgument, isNotConnected, isNotReady, isNotSupproted, isRefused, isSuccess, isTimeout, isUnknownpublic static final ResultCodes.CloseQueueResult SUCCESS
public static final ResultCodes.CloseQueueResult UNKNOWN
public static final ResultCodes.CloseQueueResult TIMEOUT
public static final ResultCodes.CloseQueueResult NOT_CONNECTED
public static final ResultCodes.CloseQueueResult CANCELED
public static final ResultCodes.CloseQueueResult NOT_SUPPORTED
public static final ResultCodes.CloseQueueResult REFUSED
public static final ResultCodes.CloseQueueResult INVALID_ARGUMENT
public static final ResultCodes.CloseQueueResult NOT_READY
public static final ResultCodes.CloseQueueResult ALREADY_CLOSED
public static final ResultCodes.CloseQueueResult ALREADY_IN_PROGRESS
public static final ResultCodes.CloseQueueResult UNKNOWN_QUEUE
public static final ResultCodes.CloseQueueResult INVALID_QUEUE
public static ResultCodes.CloseQueueResult[] values()
for (ResultCodes.CloseQueueResult c : ResultCodes.CloseQueueResult.values()) System.out.println(c);
public static ResultCodes.CloseQueueResult 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.GenericCodepublic ResultCodes.CloseQueueResult getOperationResult()
getOperationResult in interface ResultCodes.OperationResultCode<ResultCodes.CloseQueueResult>@Nonnull public static ResultCodes.CloseQueueResult upcast(ResultCodes.GenericCode code)
Copyright © 2023 Bloomberg L.P.. All rights reserved.