public abstract class ResourceEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected java.lang.Object |
replacement |
protected java.lang.Object |
resource |
Modifier | Constructor and Description |
---|---|
protected |
ResourceEvent(java.lang.String name,
java.lang.Object resource) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.Object |
getRawResource() |
java.lang.Object |
getReplacement() |
java.lang.Object |
getResource() |
boolean |
is(java.lang.Class<?> type) |
void |
replaceBy(java.lang.Object newResource) |
java.lang.String |
toString() |
protected final java.lang.String name
protected final java.lang.Object resource
protected java.lang.Object replacement
protected ResourceEvent(java.lang.String name, java.lang.Object resource)
public java.lang.String getName()
public java.lang.Object getRawResource()
public java.lang.Object getResource()
public boolean is(java.lang.Class<?> type)
public void replaceBy(java.lang.Object newResource)
public java.lang.Object getReplacement()
public java.lang.String toString()
toString
in class java.lang.Object