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