org.apache.qpid.qmf
Enum CompletionCode
java.lang.Object
java.lang.Enum<CompletionCode>
org.apache.qpid.qmf.CompletionCode
- All Implemented Interfaces:
- Serializable, Comparable<CompletionCode>
public enum CompletionCode
- extends Enum<CompletionCode>
Method Summary |
static CompletionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CompletionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
OK
public static final CompletionCode OK
UNKNOWN_OBJECT
public static final CompletionCode UNKNOWN_OBJECT
UNKNOWN_METHOD
public static final CompletionCode UNKNOWN_METHOD
NOT_IMPLEMENTED
public static final CompletionCode NOT_IMPLEMENTED
INVALID_PARAMETER
public static final CompletionCode INVALID_PARAMETER
FEATURE_NOT_IMPLEMENTED
public static final CompletionCode FEATURE_NOT_IMPLEMENTED
FORBIDDEN
public static final CompletionCode FORBIDDEN
EXCEPTION
public static final CompletionCode EXCEPTION
UNKNOWN_PACKAGE
public static final CompletionCode UNKNOWN_PACKAGE
UNKNOWN_CLASS
public static final CompletionCode UNKNOWN_CLASS
values
public static CompletionCode[] 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 (CompletionCode c : CompletionCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CompletionCode 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
Licensed to the Apache Software Foundation