Package org.incendo.cloud.help
Interface HelpHandlerFactory<C>
-
Method Summary
Modifier and TypeMethodDescriptioncreateHelpHandler(@NonNull CommandPredicate<C> filter) Creates a new help handler.static <C> @NonNull HelpHandlerFactory<C> standard(@NonNull CommandManager<C> commandManager) Returns a factory that produces instances ofStandardHelpHandler.
-
Method Details
-
standard
Returns a factory that produces instances ofStandardHelpHandler.- Type Parameters:
C- the command sender type- Parameters:
commandManager- the command manager- Returns:
- the factory instance
-
createHelpHandler
Creates a new help handler.- Parameters:
filter- filter that determines which commands are applicable to the help handler- Returns:
- the help handler
-