private static enum ProcessBasedLocalHBaseCluster.ServerType extends Enum<ProcessBasedLocalHBaseCluster.ServerType>
Modifier and Type | Method and Description |
---|---|
static ProcessBasedLocalHBaseCluster.ServerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessBasedLocalHBaseCluster.ServerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessBasedLocalHBaseCluster.ServerType MASTER
public static final ProcessBasedLocalHBaseCluster.ServerType RS
public static final ProcessBasedLocalHBaseCluster.ServerType ZK
public static ProcessBasedLocalHBaseCluster.ServerType[] values()
for (ProcessBasedLocalHBaseCluster.ServerType c : ProcessBasedLocalHBaseCluster.ServerType.values()) System.out.println(c);
public static ProcessBasedLocalHBaseCluster.ServerType 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 © 2007–2021 The Apache Software Foundation. All rights reserved.