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.Alarm
public Integer getId()
getId
in interface org.opennms.integration.api.v1.model.Alarm
public org.opennms.integration.api.v1.model.Node getNode()
getNode
in interface org.opennms.integration.api.v1.model.Alarm
public org.opennms.integration.api.v1.config.events.AlarmType getType()
getType
in interface org.opennms.integration.api.v1.model.Alarm
public String getManagedObjectInstance()
getManagedObjectInstance
in interface org.opennms.integration.api.v1.model.Alarm
public String getManagedObjectType()
getManagedObjectType
in interface org.opennms.integration.api.v1.model.Alarm
public Map<String,String> getAttributes()
getAttributes
in interface org.opennms.integration.api.v1.model.Alarm
public org.opennms.integration.api.v1.model.Severity getSeverity()
getSeverity
in interface org.opennms.integration.api.v1.model.Alarm
public boolean isSituation()
isSituation
in interface org.opennms.integration.api.v1.model.Alarm
public List<org.opennms.integration.api.v1.model.Alarm> getRelatedAlarms()
getRelatedAlarms
in interface org.opennms.integration.api.v1.model.Alarm
public String getLogMessage()
getLogMessage
in interface org.opennms.integration.api.v1.model.Alarm
public String getDescription()
getDescription
in interface org.opennms.integration.api.v1.model.Alarm
public Date getLastEventTime()
getLastEventTime
in interface org.opennms.integration.api.v1.model.Alarm
public Date getFirstEventTime()
getFirstEventTime
in interface org.opennms.integration.api.v1.model.Alarm
public org.opennms.integration.api.v1.model.DatabaseEvent getLastEvent()
getLastEvent
in interface org.opennms.integration.api.v1.model.Alarm
Copyright © 2019. All rights reserved.