org.netxms.client.events
Class Alarm
java.lang.Object
org.netxms.client.events.Alarm
public class Alarm
- extends java.lang.Object
Alarm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATE_OUTSTANDING
public static final int STATE_OUTSTANDING
- See Also:
- Constant Field Values
STATE_ACKNOWLEDGED
public static final int STATE_ACKNOWLEDGED
- See Also:
- Constant Field Values
STATE_RESOLVED
public static final int STATE_RESOLVED
- See Also:
- Constant Field Values
STATE_TERMINATED
public static final int STATE_TERMINATED
- See Also:
- Constant Field Values
STATE_MASK
public static final int STATE_MASK
- See Also:
- Constant Field Values
HELPDESK_STATE_IGNORED
public static final int HELPDESK_STATE_IGNORED
- See Also:
- Constant Field Values
HELPDESK_STATE_OPEN
public static final int HELPDESK_STATE_OPEN
- See Also:
- Constant Field Values
HELPDESK_STATE_CLOSED
public static final int HELPDESK_STATE_CLOSED
- See Also:
- Constant Field Values
Alarm
public Alarm(NXCPMessage msg)
- Parameters:
msg
- Source NXCP message
getId
public long getId()
- Returns:
- the id
getCurrentSeverity
public int getCurrentSeverity()
- Returns:
- the currentSeverity
getOriginalSeverity
public int getOriginalSeverity()
- Returns:
- the originalSeverity
getRepeatCount
public int getRepeatCount()
- Returns:
- the repeatCount
getState
public int getState()
- Returns:
- the state
getAckByUser
public int getAckByUser()
- Returns:
- the ackByUser
getTerminateByUser
public int getTerminateByUser()
- Returns:
- the terminateByUser
getSourceEventId
public long getSourceEventId()
- Returns:
- the sourceEventId
getSourceEventCode
public int getSourceEventCode()
- Returns:
- the sourceEventCode
getSourceObjectId
public long getSourceObjectId()
- Returns:
- the sourceObjectId
getCreationTime
public java.util.Date getCreationTime()
- Returns:
- the creationTime
getLastChangeTime
public java.util.Date getLastChangeTime()
- Returns:
- the lastChangeTime
getMessage
public java.lang.String getMessage()
- Returns:
- the message
getKey
public java.lang.String getKey()
- Returns:
- the key
getHelpdeskState
public int getHelpdeskState()
- Returns:
- the helpdeskState
getHelpdeskReference
public java.lang.String getHelpdeskReference()
- Returns:
- the helpdeskReference
getTimeout
public int getTimeout()
- Returns:
- the timeout
getTimeoutEvent
public int getTimeoutEvent()
- Returns:
- the timeoutEvent
getCommentsCount
public int getCommentsCount()
- Returns:
- the commentsCount
getResolvedByUser
public int getResolvedByUser()
- Returns:
- the resolvedByUser
isSticky
public boolean isSticky()
- Returns:
- the sticky
Copyright © 2012. All Rights Reserved.