org.apache.falcon.entity
Enum Storage.TYPE
java.lang.Object
java.lang.Enum<Storage.TYPE>
org.apache.falcon.entity.Storage.TYPE
- All Implemented Interfaces:
- Serializable, Comparable<Storage.TYPE>
- Enclosing interface:
- Storage
public static enum Storage.TYPE
- extends Enum<Storage.TYPE>
Enumeration for the various storage types.
Method Summary |
static Storage.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Storage.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
FILESYSTEM
public static final Storage.TYPE FILESYSTEM
TABLE
public static final Storage.TYPE TABLE
values
public static Storage.TYPE[] 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 (Storage.TYPE c : Storage.TYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Storage.TYPE 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
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.