All Packages This Package Class Hierarchy Class Search Index
Class com.syncbuilder.service.ServiceMessage
java.lang.Object
|
+----com.syncbuilder.service.ServiceMessage
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.
- Returned By:
- ServiceStateEvent.getMessage()
public static final int LVL_DEBUG
public static final int LVL_NORMAL
public static final int LVL_WARNING
public static final int LVL_FAILURE
public ServiceMessage(String msg)
Construct a ServiceMessage with the specified message-text and a NORMAL level
of severity.
public ServiceMessage(String msg,
int level)
Construct a ServiceMessage with the specified message-text and the specified level
of severity (use the LVL_* constants).
public String getMessageText()
public int getLevel()
public String getLevelName()
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