public interface Platform<SENDER,C extends PlatformSettings>
| Modifier and Type | Method and Description |
|---|---|
C |
getConfiguration() |
default <LISTENER extends PlatformInvocationListener<SENDER> & PlatformSuggestionListener<SENDER>> |
register(CommandRoute<SENDER> commandRoute,
LISTENER listener) |
void |
register(CommandRoute<SENDER> commandRoute,
PlatformInvocationListener<SENDER> invocationHook,
PlatformSuggestionListener<SENDER> suggestionHook) |
void |
setConfiguration(C liteConfiguration) |
default void |
start() |
default void |
stop() |
void |
unregister(CommandRoute<SENDER> commandRoute) |
void |
unregisterAll() |
void setConfiguration(@NotNull
C liteConfiguration)
@NotNull C getConfiguration()
default void start()
default void stop()
void register(CommandRoute<SENDER> commandRoute, PlatformInvocationListener<SENDER> invocationHook, PlatformSuggestionListener<SENDER> suggestionHook)
default <LISTENER extends PlatformInvocationListener<SENDER> & PlatformSuggestionListener<SENDER>> void register(CommandRoute<SENDER> commandRoute, LISTENER listener)
void unregister(CommandRoute<SENDER> commandRoute)
void unregisterAll()