public static enum MasterHealthCheckClient.MasterType extends Enum<MasterHealthCheckClient.MasterType>
Enum Constant and Description |
---|
JOB_MASTER |
MASTER |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
static MasterHealthCheckClient.MasterType |
valueOf(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(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 getClassName()
Copyright © 2023. All Rights Reserved.