Enum MeterEvent.Type

    • Enum Constant Detail

      • METER_ADD_REQ

        public static final MeterEvent.Type METER_ADD_REQ
        A meter addition was requested.
      • METER_REM_REQ

        public static final MeterEvent.Type METER_REM_REQ
        A meter removal was requested.
      • METER_ADDED

        public static final MeterEvent.Type METER_ADDED
        A meter was finally added to device.
      • METER_REMOVED

        public static final MeterEvent.Type METER_REMOVED
        A meter was finally removed from device.
      • METER_REFERENCE_COUNT_ZERO

        public static final MeterEvent.Type METER_REFERENCE_COUNT_ZERO
        Meter is not used by any flow. It can be deleted.
    • Method Detail

      • values

        public static MeterEvent.Type[] 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 (MeterEvent.Type c : MeterEvent.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MeterEvent.Type valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null