Package dev.rollczi.litecommands.handle
Class ExecuteResultHandler<SENDER>
java.lang.Object
dev.rollczi.litecommands.handle.ExecuteResultHandler<SENDER>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(SENDER sender, LiteInvocation invocation, ExecuteResult result) voidhandleResult(SENDER sender, LiteInvocation invocation, Object object) <T> voidregisterHandler(Class<T> type, Handler<SENDER, T> handler) <FROM,TO> void registerRedirector(Class<FROM> from, Class<TO> to, Redirector<FROM, TO> redirector) voidsetSchematicFormat(SchematicFormat schematicFormat) voidsetSchematicGenerator(SchematicGenerator schematicGenerator)
-
Constructor Details
-
ExecuteResultHandler
public ExecuteResultHandler()
-
-
Method Details
-
getSchematicGenerator
-
setSchematicGenerator
-
setSchematicFormat
-
getSchematicFormat
-
handle
-
handleResult
-
registerRedirector
public <FROM,TO> void registerRedirector(Class<FROM> from, Class<TO> to, Redirector<FROM, TO> redirector) -
registerHandler
-