public class SnmpTrapMappingGroup extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG
The Constant LOG.
|
| Constructor and Description |
|---|
SnmpTrapMappingGroup() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(NorthboundAlarm alarm)
Verifies if the mapping group object accepts a given northbound alarm.
|
List<SnmpTrapMapping> |
getMappings()
Gets the mappings.
|
String |
getName()
Gets the name.
|
String |
getRule()
Gets the rule.
|
void |
setMappings(List<SnmpTrapMapping> mappings)
Sets the mappings.
|
void |
setName(String name)
Sets the name.
|
void |
setRule(String rule)
Sets the rule.
|
public String getName()
public String getRule()
public List<SnmpTrapMapping> getMappings()
public void setName(String name)
name - the new namepublic void setRule(String rule)
rule - the new rulepublic void setMappings(List<SnmpTrapMapping> mappings)
mappings - the new mappingspublic boolean accepts(NorthboundAlarm alarm)
alarm - the northbound alarmCopyright © 2020. All rights reserved.