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()
ResourceNotification
getResource
in interface ResourceNotification
public String getType()
ResourceNotification
getType
in interface ResourceNotification
public Object getData()
public ResourceParameters getParameters()
ResourceNotification
getParameters
in interface ResourceNotification