@Immutable public static enum ResultCodes.OpenQueueResult extends Enum<ResultCodes.OpenQueueResult> implements ResultCodes.OpenQueueCode
Enum Constant and Description |
---|
ALREADY_IN_PROGRESS |
ALREADY_OPENED |
CANCELED |
INVALID_ARGUMENT |
INVALID_FLAGS |
INVALID_URI |
NOT_CONNECTED |
NOT_READY |
NOT_SUPPORTED |
QUEUE_ID_NOT_UNIQUE |
REFUSED |
SUCCESS |
TIMEOUT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
ResultCodes.GenericResult |
getGeneralResult() |
ResultCodes.OpenQueueResult |
getOperationResult() |
static ResultCodes.OpenQueueResult |
upcast(ResultCodes.GenericCode code) |
static ResultCodes.OpenQueueResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultCodes.OpenQueueResult[] |
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, isAlreadyOpened, isInvalidFlags, isInvalidUri, isQueueIdNotUnique
isCanceled, isFailure, isInvalidArgument, isNotConnected, isNotReady, isNotSupproted, isRefused, isSuccess, isTimeout, isUnknown
public static final ResultCodes.OpenQueueResult SUCCESS
public static final ResultCodes.OpenQueueResult UNKNOWN
public static final ResultCodes.OpenQueueResult TIMEOUT
public static final ResultCodes.OpenQueueResult NOT_CONNECTED
public static final ResultCodes.OpenQueueResult CANCELED
public static final ResultCodes.OpenQueueResult NOT_SUPPORTED
public static final ResultCodes.OpenQueueResult REFUSED
public static final ResultCodes.OpenQueueResult INVALID_ARGUMENT
public static final ResultCodes.OpenQueueResult NOT_READY
public static final ResultCodes.OpenQueueResult ALREADY_OPENED
public static final ResultCodes.OpenQueueResult ALREADY_IN_PROGRESS
public static final ResultCodes.OpenQueueResult INVALID_URI
public static final ResultCodes.OpenQueueResult INVALID_FLAGS
public static final ResultCodes.OpenQueueResult QUEUE_ID_NOT_UNIQUE
public static ResultCodes.OpenQueueResult[] values()
for (ResultCodes.OpenQueueResult c : ResultCodes.OpenQueueResult.values()) System.out.println(c);
public static ResultCodes.OpenQueueResult 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.OpenQueueResult getOperationResult()
getOperationResult
in interface ResultCodes.OperationResultCode<ResultCodes.OpenQueueResult>
@Nonnull public static ResultCodes.OpenQueueResult upcast(ResultCodes.GenericCode code)
Copyright © 2023 Bloomberg L.P.. All rights reserved.