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