public class CaRoNotification extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SERVERITY_ERROR
The Constant SERVERITY_ERROR.
|
static int |
SERVERITY_NOTE
The Constant SERVERITY_NOTE.
|
static int |
SERVERITY_WARN
The Constant SERVERITY_WARN.
|
Constructor and Description |
---|
CaRoNotification(int severity,
String message)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Gets the message.
|
int |
getSeverity()
Gets the severity.
|
static String |
severityToString(int severity)
Turns the severity into a string.
|
String |
toString() |
public static final int SERVERITY_NOTE
public static final int SERVERITY_WARN
public static final int SERVERITY_ERROR
public CaRoNotification(int severity, String message)
severity
- the severitymessage
- the messagepublic String getMessage()
public int getSeverity()
public static final String severityToString(int severity)
severity
- the severityCopyright © 2018. All rights reserved.