MessageSvc Class
- public class MessageSvc
extends Object
This service is used to display information to the user. It will be further developed in M2.
-
Hierarchy
-
Object
MessageSvc
public static interface | MessageSvc.I
The interface for the message service |
protected static MessageSvc.I |
-
instance
- Static instance of the service interface
|
public static final int |
-
LEVEL_DEBUG
- debug message.
|
public static final int |
-
LEVEL_ERROR
- error message, notify the user
|
public static final int |
-
LEVEL_FATAL
- fatal error, ide should shut down
|
public static final int |
-
LEVEL_INFO
- informational message only
|
public static final int |
-
LEVEL_WARNING
- warning message, notify the user, not serious
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static MessageSvc.I
instance
- Static instance of the service interface
LEVEL_DEBUG
public static final int LEVEL_DEBUG
- debug message. not generally displayed
LEVEL_ERROR
public static final int LEVEL_ERROR
- error message, notify the user
LEVEL_FATAL
public static final int LEVEL_FATAL
- fatal error, ide should shut down
LEVEL_INFO
public static final int LEVEL_INFO
- informational message only
LEVEL_WARNING
public static final int LEVEL_WARNING
- warning message, notify the user, not serious
MessageSvc
public MessageSvc()
displayError(String) Method
public static void displayError(String
sError)
displayInfo(String) Method
public static void displayInfo(String
sError)
displayWarning(String) Method
public static void displayWarning(String
sError)
get() Method
public static MessageSvc.I
get()
Obtain the service interface. Value is cached in the instance variable after the first use.