public class SnmpTrapMapping extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG
The Constant LOG.
|
| Constructor and Description |
|---|
SnmpTrapMapping() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(NorthboundAlarm alarm)
Verifies if the mapping object accepts a given northbound alarm.
|
String |
getEnterpriseOid()
Gets the enterprise OID.
|
Integer |
getGeneric()
Gets the generic.
|
String |
getName()
Gets the name.
|
List<Parm> |
getParams(NorthboundAlarm alarm)
Gets the parameters list.
|
String |
getRule()
Gets the rule.
|
Integer |
getSpecific()
Gets the specific.
|
List<VarbindMapping> |
getVarbindMappings()
Gets the varbind mappings.
|
void |
setEnterpriseOid(String enterpriseOid)
Sets the enterprise OID.
|
void |
setGeneric(Integer generic)
Sets the generic.
|
void |
setName(String name)
Sets the name.
|
void |
setRule(String rule)
Sets the rule.
|
void |
setSpecific(Integer specific)
Sets the specific.
|
void |
setVarbindMappings(List<VarbindMapping> varbindMappings)
Sets the varbind mappings.
|
public String getName()
public String getRule()
public String getEnterpriseOid()
public Integer getGeneric()
public Integer getSpecific()
public List<VarbindMapping> getVarbindMappings()
public void setName(String name)
name - the new namepublic void setRule(String rule)
rule - the new rulepublic void setEnterpriseOid(String enterpriseOid)
enterpriseOid - the new enterprise OIDpublic void setGeneric(Integer generic)
generic - the new genericpublic void setSpecific(Integer specific)
specific - the new specificpublic void setVarbindMappings(List<VarbindMapping> varbindMappings)
varbindMappings - the new varbind mappingspublic boolean accepts(NorthboundAlarm alarm)
alarm - the northbound alarmpublic List<Parm> getParams(NorthboundAlarm alarm)
alarm - the northbound alarmCopyright © 2022. All rights reserved.