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