@Event public class ResourceBeforeDestroyed extends ResourceEvent
name, replacement, resource
Constructor and Description |
---|
ResourceBeforeDestroyed(java.lang.Object resource,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
replaceBy(java.lang.Object newResource) |
getName, getRawResource, getReplacement, getResource, is, toString
public ResourceBeforeDestroyed(java.lang.Object resource, java.lang.String name)
public void replaceBy(java.lang.Object newResource)
replaceBy
in class ResourceEvent