public static enum MasterHealthCheckClient.MasterType extends java.lang.Enum<MasterHealthCheckClient.MasterType>
| Enum Constant and Description |
|---|
JOB_MASTER |
MASTER |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName() |
static MasterHealthCheckClient.MasterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MasterHealthCheckClient.MasterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MasterHealthCheckClient.MasterType MASTER
public static final MasterHealthCheckClient.MasterType JOB_MASTER
public static MasterHealthCheckClient.MasterType[] values()
for (MasterHealthCheckClient.MasterType c : MasterHealthCheckClient.MasterType.values()) System.out.println(c);
public static MasterHealthCheckClient.MasterType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getClassName()
Copyright © 2022. All Rights Reserved.