public static enum Constants.ApmMode extends java.lang.Enum<Constants.ApmMode>
| Enum Constant and Description |
|---|
DISABLE
Disable APM module.
|
ENABLE
Enable APM module.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value
Integer value of the ApmMode
|
| Modifier and Type | Method and Description |
|---|---|
static Constants.ApmMode |
fromInt(int value)
Converts an integer value to its corresponding ApmMode enum constant.
|
int |
getValue()
Gets the integer value of the APM module mode.
|
static Constants.ApmMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ApmMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ApmMode DISABLE
public static final Constants.ApmMode ENABLE
public static Constants.ApmMode[] values()
for (Constants.ApmMode c : Constants.ApmMode.values()) System.out.println(c);
public static Constants.ApmMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static Constants.ApmMode fromInt(int value)
value - The integer value.