Class ResultHandleServiceImpl<SENDER>
java.lang.Object
dev.rollczi.litecommands.handler.result.ResultHandleServiceImpl<SENDER>
- All Implemented Interfaces:
ResultHandleService<SENDER>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidregisterHandler(Class<T> resultType, ResultHandler<SENDER, ? extends T> handler) <T> voidresolve(Invocation<SENDER> invocation, T result) <T> voidresolve(Invocation<SENDER> invocation, T result, Class<? super T> typedAs, ResultHandlerChain<SENDER> chain)
-
Constructor Details
-
ResultHandleServiceImpl
public ResultHandleServiceImpl()
-
-
Method Details
-
registerHandler
- Specified by:
registerHandlerin interfaceResultHandleService<SENDER>
-
resolve
- Specified by:
resolvein interfaceResultHandleService<SENDER>
-
resolve
public <T> void resolve(Invocation<SENDER> invocation, T result, Class<? super T> typedAs, ResultHandlerChain<SENDER> chain) - Specified by:
resolvein interfaceResultHandleService<SENDER>
-