Enum Class JmxOperationInfo.OperationAction
java.lang.Object
java.lang.Enum<JmxOperationInfo.OperationAction>
com.j256.simplejmx.common.JmxOperationInfo.OperationAction
- All Implemented Interfaces:
Serializable, Comparable<JmxOperationInfo.OperationAction>, Constable
- Enclosing class:
JmxOperationInfo
An enumerated version of the constants from
MBeanOperationInfo.- Author:
- graywatson
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the operation is a write-like, and would modify the MBean in some way, typically by writing some value or changing a configuration.Indicates that the operation is both read-like and write-like.Indicates that the operation is read-like, it basically returns information.Indicates that the operation has an "unknown" nature. -
Method Summary
Modifier and TypeMethodDescriptionintReturn the associated MBeanOperationInfo int constant.Returns the enum constant of this class with the specified name.static JmxOperationInfo.OperationAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INFO
Indicates that the operation is read-like, it basically returns information. -
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. -
UNKNOWN
Indicates that the operation has an "unknown" nature.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getActionValue
public int getActionValue()Return the associated MBeanOperationInfo int constant.
-