Uses of Interface
org.springframework.shell.command.CommandRegistration.TargetSpec
Packages that use CommandRegistration.TargetSpec
-
Uses of CommandRegistration.TargetSpec in org.springframework.shell.command
Classes in org.springframework.shell.command that implement CommandRegistration.TargetSpecMethods in org.springframework.shell.command that return CommandRegistration.TargetSpecModifier 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.Register a method target.Register a method target.CommandRegistration.BaseBuilder.withTarget()CommandRegistration.Builder.withTarget()Define a target what this command should execute