Enum MOTableRowEvent.OriginType

  • All Implemented Interfaces:
    Serializable, Comparable<MOTableRowEvent.OriginType>
    Enclosing class:
    MOTableRowEvent<R extends MOTableRow>


    public static enum MOTableRowEvent.OriginType
    extends Enum<MOTableRowEvent.OriginType>
    Specifies the origin of a change: the source of an external change is a protocol operation (SNMP or AgentX) that originates external to the managed object. The source of an internal change is originated from within the managed object, for example when loading a row from persistent storage.
    Since:
    3.3.0
    • Method Detail

      • values

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

        public static MOTableRowEvent.OriginType 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