Serializablepublic class StoreEvent extends MailEvent
| Modifier and Type | Field | Description |
|---|---|---|
static int |
ALERT |
Indicates that this message is an ALERT.
|
protected String |
message |
The message text to be presented to the user.
|
static int |
NOTICE |
Indicates that this message is a NOTICE.
|
protected int |
type |
The event type.
|
source| Constructor | Description |
|---|---|
StoreEvent(Store store,
int type,
String message) |
Construct a StoreEvent.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
dispatch(Object listener) |
Invokes the appropriate StoreListener method.
|
String |
getMessage() |
Get the message from the Store.
|
int |
getMessageType() |
Return the type of this event.
|
getSource, toStringpublic static final int ALERT
public static final int NOTICE
protected int type
protected String message
public int getMessageType()
public String getMessage()
Copyright © 2018 Oracle. All rights reserved.