Uses of Interface
org.springframework.shell.command.CommandContext
Packages that use CommandContext
-
Uses of CommandContext in org.springframework.shell.command
Classes in org.springframework.shell.command that implement CommandContextMethods in org.springframework.shell.command that return CommandContextModifier and TypeMethodDescriptionstatic CommandContextCommandContext.of(String[] args, CommandParser.CommandParserResults results, org.jline.terminal.Terminal terminal, CommandRegistration commandRegistration, ShellContext shellContext) Gets an instance of a defaultCommandContext.Methods in org.springframework.shell.command that return types with arguments of type CommandContextModifier and TypeMethodDescriptionCommandRegistration.TargetInfo.DefaultTargetInfo.getConsumer()CommandRegistration.TargetInfo.getConsumer()Get the consumerCommandRegistration.TargetInfo.DefaultTargetInfo.getFunction()CommandRegistration.TargetInfo.getFunction()Get the functionMethod parameters in org.springframework.shell.command with type arguments of type CommandContextModifier and TypeMethodDescriptionCommandRegistration.DefaultTargetSpec.consumer(Consumer<CommandContext> consumer) CommandRegistration.TargetSpec.consumer(Consumer<CommandContext> consumer) Register a consumer target.CommandRegistration.DefaultTargetSpec.function(Function<CommandContext, ?> function) CommandRegistration.TargetSpec.function(Function<CommandContext, ?> function) Register a function target.CommandRegistration.TargetInfo.of(Consumer<CommandContext> consumer) CommandRegistration.TargetInfo.of(Function<CommandContext, ?> function) Constructor parameters in org.springframework.shell.command with type arguments of type CommandContextModifierConstructorDescriptionDefaultTargetInfo(CommandRegistration.TargetInfo.TargetType targetType, Object bean, Method method, Function<CommandContext, ?> function, Consumer<CommandContext> consumer) DefaultTargetInfo(CommandRegistration.TargetInfo.TargetType targetType, Object bean, Method method, Function<CommandContext, ?> function, Consumer<CommandContext> consumer)