Class SnmpTrapMapping

    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
        The Constant LOG.
    • Constructor Detail

      • SnmpTrapMapping

        public SnmpTrapMapping()
    • Method Detail

      • getName

        public String getName()
        Gets the name.
        Returns:
        the name
      • getRule

        public String getRule()
        Gets the rule.
        Returns:
        the rule
      • getEnterpriseOid

        public String getEnterpriseOid()
        Gets the enterprise OID.
        Returns:
        the enterprise OID
      • getGeneric

        public Integer getGeneric()
        Gets the generic.
        Returns:
        the generic
      • getSpecific

        public Integer getSpecific()
        Gets the specific.
        Returns:
        the specific
      • getVarbindMappings

        public List<VarbindMapping> getVarbindMappings()
        Gets the varbind mappings.
        Returns:
        the varbind mappings
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - the new name
      • setRule

        public void setRule​(String rule)
        Sets the rule.
        Parameters:
        rule - the new rule
      • setEnterpriseOid

        public void setEnterpriseOid​(String enterpriseOid)
        Sets the enterprise OID.
        Parameters:
        enterpriseOid - the new enterprise OID
      • setGeneric

        public void setGeneric​(Integer generic)
        Sets the generic.
        Parameters:
        generic - the new generic
      • setSpecific

        public void setSpecific​(Integer specific)
        Sets the specific.
        Parameters:
        specific - the new specific
      • setVarbindMappings

        public void setVarbindMappings​(List<VarbindMapping> varbindMappings)
        Sets the varbind mappings.
        Parameters:
        varbindMappings - the new varbind mappings
      • accepts

        public boolean accepts​(NorthboundAlarm alarm)
        Verifies if the mapping object accepts a given northbound alarm.
        Parameters:
        alarm - the northbound alarm
        Returns:
        true, if the alarm is accepted
      • getParams

        public List<Parm> getParams​(NorthboundAlarm alarm)
        Gets the parameters list.
        Parameters:
        alarm - the northbound alarm
        Returns:
        the parameters