net.jini.lookup.entry
Class StatusType

java.lang.Object
  extended by net.jini.lookup.entry.StatusType
All Implemented Interfaces:
Serializable

public class StatusType
extends Object
implements Serializable

Information pertaining to the severity of a Status object.

Author:
Sun Microsystems, Inc.
See Also:
Status, Serialized Form

Field Summary
static StatusType ERROR
          An error has occurred that is preventing a service from operating correctly.
static StatusType NORMAL
          A noteworthy event is occurring during the normal operation of a service.
static StatusType NOTICE
          An unusual event is occurring, but the event is not necessarily a problem.
private static long serialVersionUID
           
private  int type
           
static StatusType WARNING
          A problem merits attention, but is not impeding the operation of the service.
 
Constructor Summary
private StatusType(int t)
           
 
Method Summary
private  Object readResolve()
          Canonicalize so that == can be used.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

type

private final int type

ERROR

public static final StatusType ERROR
An error has occurred that is preventing a service from operating correctly.


WARNING

public static final StatusType WARNING
A problem merits attention, but is not impeding the operation of the service.


NOTICE

public static final StatusType NOTICE
An unusual event is occurring, but the event is not necessarily a problem.


NORMAL

public static final StatusType NORMAL
A noteworthy event is occurring during the normal operation of a service.

Constructor Detail

StatusType

private StatusType(int t)
Method Detail

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object

readResolve

private Object readResolve()
Canonicalize so that == can be used.



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.