public class Notification extends Object
NotificationHandler.| Modifier and Type | Field and Description |
|---|---|
static String |
DATA |
static String |
MESSAGE |
static String |
SOURCE |
static String |
TIMESTAMP |
static String |
TYPE |
| Constructor and Description |
|---|
Notification(String type,
PathAddress source,
String message) |
Notification(String type,
PathAddress source,
String message,
org.jboss.dmr.ModelNode data) |
| Modifier and Type | Method and Description |
|---|---|
static Notification |
fromModelNode(org.jboss.dmr.ModelNode node) |
org.jboss.dmr.ModelNode |
getData() |
String |
getMessage() |
PathAddress |
getSource() |
long |
getTimestamp()
The timestamp is set when the notification is instantiaged.
|
String |
getType() |
org.jboss.dmr.ModelNode |
toModelNode() |
String |
toString() |
public static final String SOURCE
public static final String TYPE
public static final String MESSAGE
public static final String TIMESTAMP
public static final String DATA
public Notification(String type, PathAddress source, String message)
public Notification(String type, PathAddress source, String message, org.jboss.dmr.ModelNode data)
data - can be nullpublic String getType()
public PathAddress getSource()
public String getMessage()
public long getTimestamp()
public org.jboss.dmr.ModelNode getData()
nullpublic org.jboss.dmr.ModelNode toModelNode()
public static Notification fromModelNode(org.jboss.dmr.ModelNode node)
nodeCopyright © 2017 JBoss by Red Hat. All rights reserved.