Uses of Class
com.github.copilot.sdk.json.CommandDefinition
Packages that use CommandDefinition
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of CommandDefinition in com.github.copilot.sdk.json
Methods in com.github.copilot.sdk.json that return CommandDefinitionModifier and TypeMethodDescriptionCommandDefinition.setDescription(String description) Sets the human-readable description shown in the command completion UI.CommandDefinition.setHandler(CommandHandler handler) Sets the handler invoked when the command is executed.Sets the command name (without leading/).Methods in com.github.copilot.sdk.json that return types with arguments of type CommandDefinitionModifier and TypeMethodDescriptionResumeSessionConfig.getCommands()Gets the slash commands registered for this session.SessionConfig.getCommands()Gets the slash commands registered for this session.Method parameters in com.github.copilot.sdk.json with type arguments of type CommandDefinitionModifier and TypeMethodDescriptionResumeSessionConfig.setCommands(List<CommandDefinition> commands) Sets slash commands registered for this session.SessionConfig.setCommands(List<CommandDefinition> commands) Sets slash commands registered for this session.