public class AlarmBean extends Object implements org.opennms.integration.api.v1.model.Alarm
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAttributes() |
String |
getDescription() |
Date |
getFirstEventTime() |
Integer |
getId() |
org.opennms.integration.api.v1.model.DatabaseEvent |
getLastEvent() |
Date |
getLastEventTime() |
String |
getLogMessage() |
String |
getManagedObjectInstance() |
String |
getManagedObjectType() |
org.opennms.integration.api.v1.model.Node |
getNode() |
String |
getReductionKey() |
List<org.opennms.integration.api.v1.model.Alarm> |
getRelatedAlarms() |
org.opennms.integration.api.v1.model.Severity |
getSeverity() |
org.opennms.integration.api.v1.config.events.AlarmType |
getType() |
boolean |
isSituation() |
public AlarmBean(OnmsAlarm alarm)
public String getReductionKey()
getReductionKey in interface org.opennms.integration.api.v1.model.Alarmpublic Integer getId()
getId in interface org.opennms.integration.api.v1.model.Alarmpublic org.opennms.integration.api.v1.model.Node getNode()
getNode in interface org.opennms.integration.api.v1.model.Alarmpublic org.opennms.integration.api.v1.config.events.AlarmType getType()
getType in interface org.opennms.integration.api.v1.model.Alarmpublic String getManagedObjectInstance()
getManagedObjectInstance in interface org.opennms.integration.api.v1.model.Alarmpublic String getManagedObjectType()
getManagedObjectType in interface org.opennms.integration.api.v1.model.Alarmpublic Map<String,String> getAttributes()
getAttributes in interface org.opennms.integration.api.v1.model.Alarmpublic org.opennms.integration.api.v1.model.Severity getSeverity()
getSeverity in interface org.opennms.integration.api.v1.model.Alarmpublic boolean isSituation()
isSituation in interface org.opennms.integration.api.v1.model.Alarmpublic List<org.opennms.integration.api.v1.model.Alarm> getRelatedAlarms()
getRelatedAlarms in interface org.opennms.integration.api.v1.model.Alarmpublic String getLogMessage()
getLogMessage in interface org.opennms.integration.api.v1.model.Alarmpublic String getDescription()
getDescription in interface org.opennms.integration.api.v1.model.Alarmpublic Date getLastEventTime()
getLastEventTime in interface org.opennms.integration.api.v1.model.Alarmpublic Date getFirstEventTime()
getFirstEventTime in interface org.opennms.integration.api.v1.model.Alarmpublic org.opennms.integration.api.v1.model.DatabaseEvent getLastEvent()
getLastEvent in interface org.opennms.integration.api.v1.model.AlarmCopyright © 2019. All rights reserved.