--- projects/cms/source/server/uk/org/iscream/cms/server/client/Alert.java 2001/03/05 12:45:51 1.9 +++ projects/cms/source/server/uk/org/iscream/cms/server/client/Alert.java 2001/03/06 01:40:24 1.10 @@ -8,7 +8,7 @@ import uk.ac.ukc.iscream.util.*; * Alert Object * * @author $Author: ajm $ - * @version $Id: Alert.java,v 1.9 2001/03/05 12:45:51 ajm Exp $ + * @version $Id: Alert.java,v 1.10 2001/03/06 01:40:24 ajm Exp $ */ public class Alert { @@ -17,7 +17,7 @@ public class Alert { /** * The current CVS revision of this class */ - public static final String REVISION = "$Revision: 1.9 $"; + public static final String REVISION = "$Revision: 1.10 $"; public static final int thresholdNORMAL = 0; public static final int thresholdLOWER = 1; @@ -30,8 +30,11 @@ public class Alert { public static final int alertWARNING = 2; public static final int alertCAUTION = 3; public static final int alertCRITICAL = 4; + // note FINAL should be the highest alert + public static final int alertFINAL = 5; - public static final String[] alertLevels = {"OK", "NOTICE", "WARNING", "CAUTION", "CRITICAL"}; + // note FINAL should be last in this list + public static final String[] alertLevels = {"OK", "NOTICE", "WARNING", "CAUTION", "CRITICAL", "FINAL"}; //---STATIC METHODS---