|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject javax.management.Notification org.jboss.monitor.alarm.AlarmNotification org.jboss.monitor.alarm.AlarmTableNotification
AlarmTableNotification userData field, holds a reference to the source Notification
Field Summary | |
static String |
ALARM_TABLE_UPDATE
the type of AlarmTableNotification |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
AlarmTableNotification(AlarmTableNotification atn)
Copy Constructor. |
|
AlarmTableNotification(String type,
Object source,
long sequenceNumber,
long timeStamp,
String message,
int alarmState,
int severity,
String serverId)
CTOR, creates an AlarmTableNotification object Same restrictions with AlarmNotification apply |
Method Summary | |
Object |
createKey()
Returns a key that can be used in AlarmTables (maps) |
boolean |
getAckState()
Gets the acked/unacked status of the alarm |
String |
getAckSystem()
Gets the system that performed the ack/unack |
long |
getAckTime()
Gets the last time the alarm was acked/unacked |
String |
getAckUser()
Gets the user that performed the ack/unack |
String |
getServerId()
Gets serverId |
void |
setAckParams(boolean ackState,
long ackTime,
String ackUser,
String ackSystem)
Sets all ack parameters |
String |
toString()
toString() |
Methods inherited from class org.jboss.monitor.alarm.AlarmNotification |
getAlarmState, getSeverity |
Methods inherited from class javax.management.Notification |
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String ALARM_TABLE_UPDATE
Constructor Detail |
public AlarmTableNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, int alarmState, int severity, String serverId)
public AlarmTableNotification(AlarmTableNotification atn)
Method Detail |
public String getServerId()
public boolean getAckState()
public long getAckTime()
public String getAckUser()
public String getAckSystem()
public void setAckParams(boolean ackState, long ackTime, String ackUser, String ackSystem)
public Object createKey()
public String toString()
toString
in class AlarmNotification
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |