Class Maskelement

    • Constructor Detail

      • Maskelement

        public Maskelement()
    • Method Detail

      • addMevalue

        public void addMevalue​(String value)
      • getMename

        public String getMename()

        The mask element name. Must be from the following subset:

        uei
        the OpenNMS Universal Event Identifier
        source
        source of the event; "trapd" for received SNMP traps; warning: these aren't standardized
        host
        host related to the event; for SNMP traps this is the IP source address of the host that sent the trap to OpenNMS
        snmphost
        SNMP host related to the event; for SNMPv1 traps this is IP address reported in the trap; for SNMPv2 traps and later this is the same as "host"
        nodeid
        the OpenNMS node identifier for the node related to this event
        interface
        interface related to the event; for SNMP traps this is the same as "snmphost"
        service
        Service name
        id
        enterprise ID in an SNMP trap
        specific
        specific value in an SNMP trap
        generic
        generic value in an SNMP trap
        community
        community string in an SNMP trap
      • removeMevalue

        public boolean removeMevalue​(String value)
      • setMename

        public void setMename​(String mename)
      • setMevalues

        public void setMevalues​(List<String> values)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object