public enum StopVmTypeEnum extends Enum<StopVmTypeEnum>
| Enum Constant and Description |
|---|
CANNOT_SHUTDOWN |
NORMAL |
| Modifier and Type | Method and Description |
|---|---|
static StopVmTypeEnum |
forValue(int value) |
int |
getValue() |
static StopVmTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StopVmTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StopVmTypeEnum NORMAL
public static final StopVmTypeEnum CANNOT_SHUTDOWN
public static StopVmTypeEnum[] values()
for (StopVmTypeEnum c : StopVmTypeEnum.values()) System.out.println(c);
public static StopVmTypeEnum 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 int getValue()
public static StopVmTypeEnum forValue(int value)
Copyright © 2012. All Rights Reserved.