public interface ICallback<T>
ICallbacks is a flexible interface to be used for CallbackRegistries.ICallback with default implementation for call(Object...) that should redirect to a
more specialized callback() method with more specific arguments.CallbackRegistry implement dedicated for that callback extension.| Modifier and Type | Interface and Description |
|---|---|
static class |
ICallback.CallbackOption<P extends ICallback.ICallbackPredicate>
The
ICallback.CallbackOption holds the ICallback.ICallbackPredicate and ICallback.Priority necessary for the associated ICallback
to be executed. |
static interface |
ICallback.ICallbackPredicate
ICallback.ICallbackPredicate are used for registering ICallback in CallbackRegistry to determine in which circumstances
the ICallback should be called. |
static class |
ICallback.Priority |
| Modifier and Type | Method and Description |
|---|---|
CallbackResult<T> |
call(java.lang.Object... params)
Process this
ICallback |
CallbackResult<T> call(java.lang.Object... params)
ICallbackparams - the params