org.opennms.netmgt.alarmd.api
Class NorthboundAlarm

java.lang.Object
  extended by org.opennms.netmgt.alarmd.api.NorthboundAlarm
All Implemented Interfaces:
Preservable

public class NorthboundAlarm
extends Object
implements Preservable

Wraps the OnmsAlarm into a more generic Alarm instance FIXME: Improve this alarm to support TIP and 3GPP collaboration. FIXME: Most of these fields are not implemented waiting on above fix to be completed.

Author:
David Hustace

Nested Class Summary
static class NorthboundAlarm.AlarmType
           
 
Field Summary
static NorthboundAlarm SYNC_LOST_ALARM
           
 
Constructor Summary
NorthboundAlarm(OnmsAlarm alarm)
           
 
Method Summary
 Date getAckTime()
           
 String getAckUser()
           
 String getAlarmKey()
           
 NorthboundAlarm.AlarmType getAlarmType()
           
 String getAppDn()
           
 String getClearKey()
           
 Integer getCount()
           
 String getDesc()
           
 String getEventParms()
           
 Date getFirstOccurrence()
           
 Integer getId()
           
 InetAddress getIpAddr()
           
 Date getLastOccurrence()
           
 String getLogMsg()
           
 String getObjectInstance()
           
 String getObjectType()
           
 String getOperInst()
           
 String getOssKey()
           
 String getOssState()
           
 OnmsDistPoller getPoller()
           
 OnmsServiceType getService()
           
 OnmsSeverity getSeverity()
           
 Date getSuppressed()
           
 String getSuppressedBy()
           
 Date getSuppressedUntil()
           
 String getTicketId()
           
 TroubleTicketState getTicketState()
           
 String getUei()
           
 int getX733Cause()
           
 String getX733Type()
           
 boolean isPreserved()
           
 void setPreserved(boolean preserved)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYNC_LOST_ALARM

public static final NorthboundAlarm SYNC_LOST_ALARM
Constructor Detail

NorthboundAlarm

public NorthboundAlarm(OnmsAlarm alarm)
Method Detail

getId

public Integer getId()

getUei

public String getUei()

getAckTime

public Date getAckTime()

getAckUser

public String getAckUser()

getAlarmType

public NorthboundAlarm.AlarmType getAlarmType()

getAppDn

public String getAppDn()

getClearKey

public String getClearKey()

getCount

public Integer getCount()

getDesc

public String getDesc()

getPoller

public OnmsDistPoller getPoller()

getFirstOccurrence

public Date getFirstOccurrence()

getIpAddr

public InetAddress getIpAddr()

getLastOccurrence

public Date getLastOccurrence()

getLogMsg

public String getLogMsg()

getObjectInstance

public String getObjectInstance()

getObjectType

public String getObjectType()

getOperInst

public String getOperInst()

getOssKey

public String getOssKey()

getOssState

public String getOssState()

getAlarmKey

public String getAlarmKey()

getService

public OnmsServiceType getService()

getSeverity

public OnmsSeverity getSeverity()

getSuppressed

public Date getSuppressed()

getSuppressedUntil

public Date getSuppressedUntil()

getSuppressedBy

public String getSuppressedBy()

getTicketId

public String getTicketId()

getTicketState

public TroubleTicketState getTicketState()

getX733Type

public String getX733Type()

getX733Cause

public int getX733Cause()

getEventParms

public String getEventParms()

isPreserved

public boolean isPreserved()
Specified by:
isPreserved in interface Preservable

setPreserved

public void setPreserved(boolean preserved)
Specified by:
setPreserved in interface Preservable


Copyright © 2011. All Rights Reserved.