Enum ImpactOption

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ImpactOption>

    public enum ImpactOption
    extends java.lang.Enum<ImpactOption>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant 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.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int value()  
      static ImpactOption valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ImpactOption[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ACTION

        public static final ImpactOption 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

        public static final ImpactOption ACTION_INFO
        Indicates that the operation is both read-like and write-like.
      • INFO

        public static final ImpactOption INFO
        Indicates that the operation is read-like, it basically returns information.
      • UNKNOWN

        public static final ImpactOption UNKNOWN
        Indicates that the operation has an "unknown" nature.
    • Method Detail

      • values

        public static ImpactOption[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ImpactOption c : ImpactOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImpactOption valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public int value()