org.okiproject.serviceapi.logging
Class Priority

java.lang.Object
  |
  +--org.okiproject.serviceapi.logging.Priority
All Implemented Interfaces:
java.io.Serializable

public final class Priority
extends java.lang.Object
implements java.io.Serializable

Purpose: Represents the priority used by either the logging subsystem or the specific logger. This is a typesafe enumeration of strictly typed constants, as can be seen from the private ctor.

Copyright (c) 2001 Massachusetts Institute of Technology

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Purpose: Represents the priority used by either the logging subsystem or the specific logger. This is a typesafe enumeration of strictly typed constants, as can be seen from the private ctor. $Source: /cvs/oki/org/okiproject/serviceapi/doc/logging/org/okiproject/serviceapi/logging/Priority.html,v $

See Also:
Serialized Form

Field Summary
static Priority debug
           
static Priority error
           
static Priority fatal
           
static Priority info
           
static Priority warn
          Five pre-defined system priorities
 
Method Summary
static boolean greaterOrEqual(Priority a, Priority b)
          Method greaterOrEqual
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

warn

public static final Priority warn
Five pre-defined system priorities

info

public static final Priority info

debug

public static final Priority debug

error

public static final Priority error

fatal

public static final Priority fatal
Method Detail

greaterOrEqual

public static final boolean greaterOrEqual(Priority a,
                                           Priority b)
Method greaterOrEqual
Parameters:
a -  
b -  
Returns: