public static enum HadoopPrms.NodeType extends Enum<HadoopPrms.NodeType>
| Enum Constant and Description |
|---|
DataNode |
NameNode |
NodeManager |
ResourceManager |
| Modifier and Type | Method and Description |
|---|---|
static HadoopPrms.NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HadoopPrms.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HadoopPrms.NodeType DataNode
public static final HadoopPrms.NodeType NameNode
public static final HadoopPrms.NodeType ResourceManager
public static final HadoopPrms.NodeType NodeManager
public static HadoopPrms.NodeType[] values()
for (HadoopPrms.NodeType c : HadoopPrms.NodeType.values()) System.out.println(c);
public static HadoopPrms.NodeType 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 nullCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.