public static interface CommandRegistration.TargetInfo
CommandRegistration.TargetSpec.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | CommandRegistration.TargetInfo.DefaultTargetInfo | 
| static class  | CommandRegistration.TargetInfo.TargetType | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | getBean()Get the bean. | 
| Consumer<CommandContext> | getConsumer()Get the consumer | 
| Function<CommandContext,?> | getFunction()Get the function | 
| Method | getMethod()Get the bean method | 
| CommandRegistration.TargetInfo.TargetType | getTargetType()Get target type | 
| static CommandRegistration.TargetInfo | of(Consumer<CommandContext> consumer) | 
| static CommandRegistration.TargetInfo | of(Function<CommandContext,?> function) | 
| static CommandRegistration.TargetInfo | of(Object bean,
  Method method) | 
CommandRegistration.TargetInfo.TargetType getTargetType()
Object getBean()
Method getMethod()
Function<CommandContext,?> getFunction()
Consumer<CommandContext> getConsumer()
static CommandRegistration.TargetInfo of(Object bean, Method method)
static CommandRegistration.TargetInfo of(Function<CommandContext,?> function)
static CommandRegistration.TargetInfo of(Consumer<CommandContext> consumer)
Copyright © 2022. All rights reserved.