|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JmxOperationInfo.OperationAction>
com.j256.simplejmx.common.JmxOperationInfo.OperationAction
public static enum JmxOperationInfo.OperationAction
An enumerated version of the constants from MBeanOperationInfo
.
Enum Constant Summary | |
---|---|
ACTION
Indicates that the operation is a write-like, and would modify the MBean in some way, typically by writing some value or changing a configuration. |
|
ACTION_INFO
Indicates that the operation is both read-like and write-like. |
|
INFO
Indicates that the operation is read-like, it basically returns information. |
|
UNKNOWN
Indicates that the operation has an "unknown" nature. |
Method Summary | |
---|---|
static JmxOperationInfo.OperationAction |
fromActionValue(int actionValue)
Return the enumerated action from the MBeanOperationInfo int constant. |
int |
getActionValue()
Return the associated MBeanOperationInfo int constant. |
static JmxOperationInfo.OperationAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JmxOperationInfo.OperationAction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JmxOperationInfo.OperationAction INFO
public static final JmxOperationInfo.OperationAction ACTION
public static final JmxOperationInfo.OperationAction ACTION_INFO
public static final JmxOperationInfo.OperationAction UNKNOWN
Method Detail |
---|
public static JmxOperationInfo.OperationAction[] values()
for (JmxOperationInfo.OperationAction c : JmxOperationInfo.OperationAction.values()) System.out.println(c);
public static JmxOperationInfo.OperationAction valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getActionValue()
public static JmxOperationInfo.OperationAction fromActionValue(int actionValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |