public enum OperationEnum extends Enum<OperationEnum>
| Enum Constant and Description |
|---|
CONFIGURE
Represents configure.
|
DECONFIGURE
Represents deconfigure.
|
RESET
Represents reset.
|
SET
Represents set.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationEnum |
of(int value)
Returns the object of operationEnum for.
|
static OperationEnum |
of(String value)
Returns the object of operationEnum for.
|
int |
operationEnum()
Returns the attribute operationEnum.
|
String |
toString() |
static OperationEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationEnum CONFIGURE
public static final OperationEnum DECONFIGURE
public static final OperationEnum SET
public static final OperationEnum RESET
public static OperationEnum[] values()
for (OperationEnum c : OperationEnum.values()) System.out.println(c);
public static OperationEnum 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 static OperationEnum of(int value)
value - value of operationEnum forpublic static OperationEnum of(String value)
value - value of operationEnum forpublic int operationEnum()
public String toString()
toString in class Enum<OperationEnum>Copyright © 2018. All rights reserved.