public static enum Master.State extends Enum<Master.State>
| Enum Constant and Description |
|---|
INITIALIZING |
RUNNING |
| Modifier and Type | Method and Description |
|---|---|
static Master.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Master.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Master.State INITIALIZING
public static final Master.State RUNNING
public static Master.State[] values()
for (Master.State c : Master.State.values()) System.out.println(c);
public static Master.State 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 © 2022 Apache Software Foundation. All rights reserved.