org.soyatec.windowsazure.blob
Enum BlockListType
java.lang.Object
java.lang.Enum<BlockListType>
org.soyatec.windowsazure.blob.BlockListType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<BlockListType>
public enum BlockListType
- extends java.lang.Enum<BlockListType>
It specifies Get Block List to return the list of committed blocks, the list
of uncommitted blocks, or both lists together. Valid values are committed,
uncommitted, or all.
|
Method Summary |
java.lang.String |
getLiteral()
Get the literal of the data type |
static BlockListType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BlockListType[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Committed
public static final BlockListType Committed
Uncommitted
public static final BlockListType Uncommitted
All
public static final BlockListType All
values
public static final BlockListType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(BlockListType c : BlockListType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static BlockListType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
getLiteral
public java.lang.String getLiteral()
- Get the literal of the data type
- Returns:
- the the literal of the data type string