All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.syncbuilder.service.ServiceMessage
java.lang.Object
   |
   +----com.syncbuilder.service.ServiceMessage

  Summary

public class  ServiceMessage
     extends java.lang.Object
{
          // Fields 4
     public static final int LVL_DEBUG;
     public static final int LVL_FAILURE;
     public static final int LVL_NORMAL;
     public static final int LVL_WARNING;

          // Constructors 2
     public ServiceMessage(String);
     public ServiceMessage(String, int);

          // Methods 4
     public int getLevel();
     public String getLevelName();
     public String getMessageText();
     public String toString();
}

A message from a service. Contains message-text as well as a level of severity.


  Cross Reference

Returned By:
ServiceStateEvent.getMessage()





  Fields

· LVL_DEBUG

Summary  |  Top
   public static final int LVL_DEBUG


· LVL_NORMAL

Summary  |  Top
   public static final int LVL_NORMAL


· LVL_WARNING

Summary  |  Top
   public static final int LVL_WARNING


· LVL_FAILURE

Summary  |  Top
   public static final int LVL_FAILURE


  Constructors

· ServiceMessage

Summary  |  Top

   public ServiceMessage(String msg) 

Construct a ServiceMessage with the specified message-text and a NORMAL level of severity.



· ServiceMessage

Summary  |  Top
   public ServiceMessage(String msg, 
                         int level) 

Construct a ServiceMessage with the specified message-text and the specified level of severity (use the LVL_* constants).



  Methods

· getMessageText

Summary  |  Top
   public String getMessageText() 


· getLevel

Summary  |  Top
   public int getLevel() 


· getLevelName

Summary  |  Top
   public String getLevelName() 


· toString

Summary  |  Top
   public String toString() 
Overrides:
toString in class Object


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7