org.jboss.monitor.alarm
Class AlarmHelper

java.lang.Object
  extended by org.jboss.monitor.alarm.AlarmHelper
All Implemented Interfaces:
Alarm

public class AlarmHelper
extends Object
implements Alarm

Misc utilities

Version:
$Revision: 57210 $
Author:
Dimitris Andreadis

Field Summary
 
Fields inherited from interface org.jboss.monitor.alarm.Alarm
DEFAULT_SERVER_ID, SEVERITY_CRITICAL, SEVERITY_MAJOR, SEVERITY_MINOR, SEVERITY_NORMAL, SEVERITY_STRINGS, SEVERITY_UNKNOWN, SEVERITY_WARNING, STATE_CHANGED, STATE_CLEARED, STATE_CREATED, STATE_NONE, STATE_STRINGS
 
Method Summary
static Map getAlarmTableNotificationStats(AlarmTableNotification[] almtab)
           
static String getSeverityAsString(int severity)
          Return the severity in String form
static String getStateAsString(int alarmState)
          Return the alarm state in String form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSeverityAsString

public static String getSeverityAsString(int severity)
Return the severity in String form


getStateAsString

public static String getStateAsString(int alarmState)
Return the alarm state in String form


getAlarmTableNotificationStats

public static Map getAlarmTableNotificationStats(AlarmTableNotification[] almtab)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.