org.writersforge.catalan.process.queue
Class AlertPriority

java.lang.Object
  extended byorg.writersforge.catalan.process.queue.AlertPriority

public final class AlertPriority
extends java.lang.Object

An enumeration of Alert severities.

Author:
jsheets

Field Summary
static AlertPriority ERROR
          An ERROR Alert, signalling that the transform may continue, but results will probably be flawed or inconsistent.
static AlertPriority FATAL
          A FATAL Alert, signalling that the transform should stop immediately.
static AlertPriority INFO
          An INFO Alert, signalling that the transform succeeded but wanted to report status to the calling application; can be used for debugging.
static AlertPriority WARNING
          A WARNING Alert, signalling that the transform encountered a problem, but recovered; results should be valid and complete.
 
Method Summary
 java.lang.String getName()
          Retrieves the text name of the priority.
 int getValue()
          Retrieves the numeric value of the priority.
 java.lang.String toString()
          Converts this object into String form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FATAL

public static final AlertPriority FATAL
A FATAL Alert, signalling that the transform should stop immediately.


ERROR

public static final AlertPriority ERROR
An ERROR Alert, signalling that the transform may continue, but results will probably be flawed or inconsistent.


WARNING

public static final AlertPriority WARNING
A WARNING Alert, signalling that the transform encountered a problem, but recovered; results should be valid and complete.


INFO

public static final AlertPriority INFO
An INFO Alert, signalling that the transform succeeded but wanted to report status to the calling application; can be used for debugging.

Method Detail

getName

public java.lang.String getName()
Retrieves the text name of the priority.

Returns:
text name of the priority.

getValue

public int getValue()
Retrieves the numeric value of the priority.

Returns:
numeric value of the priority.

toString

public java.lang.String toString()
Converts this object into String form.

Returns:
String version of object