public static enum ClusterManager.ServiceType extends Enum<ClusterManager.ServiceType>
Enum Constant and Description |
---|
HADOOP_DATANODE |
HADOOP_JOBTRACKER |
HADOOP_NAMENODE |
HADOOP_TASKTRACKER |
HBASE_MASTER |
HBASE_REGIONSERVER |
ZOOKEEPER_SERVER |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
toString() |
static ClusterManager.ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterManager.ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterManager.ServiceType HADOOP_NAMENODE
public static final ClusterManager.ServiceType HADOOP_DATANODE
public static final ClusterManager.ServiceType HADOOP_JOBTRACKER
public static final ClusterManager.ServiceType HADOOP_TASKTRACKER
public static final ClusterManager.ServiceType ZOOKEEPER_SERVER
public static final ClusterManager.ServiceType HBASE_MASTER
public static final ClusterManager.ServiceType HBASE_REGIONSERVER
public static ClusterManager.ServiceType[] values()
for (ClusterManager.ServiceType c : ClusterManager.ServiceType.values()) System.out.println(c);
public static ClusterManager.ServiceType 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 nullpublic String toString()
toString
in class Enum<ClusterManager.ServiceType>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.