Package dev.deepcore.challenge.command
Class ChallengeCoreCommandHandler
java.lang.Object
dev.deepcore.challenge.command.ChallengeCoreCommandHandler
Handles non-logs /challenge subcommands and tab completion.
-
Constructor Summary
ConstructorsConstructorDescriptionChallengeCoreCommandHandler(ChallengeAdminFacade adminFacade, TrainingManager trainingManager, DeepCoreLogger logger) Creates a core command handler for non-logs `/challenge` subcommands. -
Method Summary
-
Constructor Details
-
ChallengeCoreCommandHandler
public ChallengeCoreCommandHandler(ChallengeAdminFacade adminFacade, TrainingManager trainingManager, DeepCoreLogger logger) Creates a core command handler for non-logs `/challenge` subcommands.- Parameters:
adminFacade- admin facade providing challenge control operationstrainingManager- training gym managerlogger- logger used for command diagnostics
-
-
Method Details
-
handle
Handles a `/challenge` subcommand invocation.- Parameters:
sender- command sender invoking the challenge commandargs- command arguments including subcommand and options- Returns:
- true after processing the command input
-
tabComplete
Returns tab-completion candidates for `/challenge` arguments.- Parameters:
args- current command arguments typed by the sender- Returns:
- matching completion candidates for the current argument position
-