public class InjectionCallback
extends java.lang.Object
| Constructor and Description |
|---|
InjectionCallback(boolean cancellable) |
InjectionCallback(boolean cancellable,
java.lang.Object returnValue) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
castReturnValue() |
java.lang.Object |
getReturnValue() |
boolean |
isCancellable() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
void |
setReturnValue(java.lang.Object returnValue) |
public InjectionCallback(boolean cancellable)
public InjectionCallback(boolean cancellable,
java.lang.Object returnValue)
public boolean isCancelled()
public void setCancelled(boolean cancelled)
public boolean isCancellable()
public java.lang.Object getReturnValue()
public <T> T castReturnValue()
public void setReturnValue(java.lang.Object returnValue)