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