public static enum JmxOperationInfo.OperationAction extends Enum<JmxOperationInfo.OperationAction>
MBeanOperationInfo
.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic int getActionValue()
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.