public class DefaultResourceNotification extends java.lang.Object implements ResourceNotification
| Constructor and Description |
|---|
DefaultResourceNotification(Resource resource,
java.lang.String type) |
DefaultResourceNotification(Resource resource,
java.lang.String type,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getData() |
ResourceParameters |
getParameters()
Returns the parameters of the resource that caused
this notification.
|
Resource |
getResource()
Returns the resource that caused this notification.
|
java.lang.String |
getType()
Returns the type of this notification.
|
public DefaultResourceNotification(Resource resource, java.lang.String type)
public DefaultResourceNotification(Resource resource, java.lang.String type, java.lang.Object data)
public Resource getResource()
ResourceNotificationgetResource in interface ResourceNotificationpublic java.lang.String getType()
ResourceNotificationgetType in interface ResourceNotificationpublic java.lang.Object getData()
public ResourceParameters getParameters()
ResourceNotificationgetParameters in interface ResourceNotification