public class Message extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_ERROR |
static int |
TYPE_INFO |
static int |
TYPE_NOTICE |
static int |
TYPE_WARNING |
| Modifier and Type | Method and Description |
|---|---|
String |
getText() |
int |
getType() |
boolean |
isError() |
boolean |
isInfo() |
boolean |
isNotice() |
boolean |
isWarning() |
public static final int TYPE_INFO
public static final int TYPE_NOTICE
public static final int TYPE_WARNING
public static final int TYPE_ERROR
public Message(int type,
String text)
public int getType()
public String getText()
public boolean isInfo()
public boolean isNotice()
public boolean isWarning()
public boolean isError()
Copyright © 2018. All rights reserved.