public enum BucketListType extends java.lang.Enum<BucketListType> implements XdrElement
enum BucketListType
{
LIVE = 0,
HOT_ARCHIVE = 1
};
| Enum Constant and Description |
|---|
HOT_ARCHIVE |
LIVE |
| Modifier and Type | Method and Description |
|---|---|
static BucketListType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static BucketListType |
fromXdrBase64(java.lang.String xdr) |
static BucketListType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static BucketListType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BucketListType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoXdrBase64, toXdrByteArraypublic static final BucketListType LIVE
public static final BucketListType HOT_ARCHIVE
public static BucketListType[] values()
for (BucketListType c : BucketListType.values()) System.out.println(c);
public static BucketListType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static BucketListType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static BucketListType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static BucketListType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException