public static class ICallback.CallbackOption<P extends ICallback.ICallbackPredicate>
extends java.lang.Object
ICallback.CallbackOption holds the ICallback.ICallbackPredicate and ICallback.Priority necessary for the associated ICallback
to be executed.public ICallback.Priority getPriority()
ICallback.Priority of this ICallback.CallbackOptionpublic boolean apply(java.lang.Object... params)
ICallback.ICallbackPredicate held by this ICallback.CallbackOption.params - the paramspublic static <P extends ICallback.ICallbackPredicate> ICallback.CallbackOption<P> of()
ICallback.CallbackOption, with predicate ICallback.ICallbackPredicate.alwaysTrue() and ICallback.Priority.NORMAL
priority.P - the generic typepublic static <P extends ICallback.ICallbackPredicate> ICallback.CallbackOption<P> of(P predicate)
ICallback.CallbackOption, with ICallback.Priority.NORMAL priority and the specified ICallback.ICallbackPredicate.P - the generic typepredicate - the predicatepublic static <P extends ICallback.ICallbackPredicate> ICallback.CallbackOption<P> of(ICallback.Priority priority)
ICallback.CallbackOption with predicate ICallback.ICallbackPredicate.alwaysTrue() and the specified ICallback.Priority.P - the generic typepriority - the prioritypublic static <P extends ICallback.ICallbackPredicate> ICallback.CallbackOption<P> of(P predicate, ICallback.Priority priority)
ICallback.CallbackOption, with specified ICallback.ICallbackPredicate and ICallback.Priority.P - the generic typepredicate - the predicatepriority - the priority