public static class CommandRegistration.TargetInfo.DefaultTargetInfo extends Object implements CommandRegistration.TargetInfo
CommandRegistration.TargetInfo.DefaultTargetInfo, CommandRegistration.TargetInfo.TargetType| Constructor and Description | 
|---|
| DefaultTargetInfo(CommandRegistration.TargetInfo.TargetType targetType,
                 Object bean,
                 Method method,
                 Function<CommandContext,?> function,
                 Consumer<CommandContext> consumer) | 
| 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 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, of, ofpublic DefaultTargetInfo(CommandRegistration.TargetInfo.TargetType targetType, Object bean, Method method, Function<CommandContext,?> function, Consumer<CommandContext> consumer)
public CommandRegistration.TargetInfo.TargetType getTargetType()
CommandRegistration.TargetInfogetTargetType in interface CommandRegistration.TargetInfopublic Object getBean()
CommandRegistration.TargetInfogetBean in interface CommandRegistration.TargetInfopublic Method getMethod()
CommandRegistration.TargetInfogetMethod in interface CommandRegistration.TargetInfopublic Function<CommandContext,?> getFunction()
CommandRegistration.TargetInfogetFunction in interface CommandRegistration.TargetInfopublic Consumer<CommandContext> getConsumer()
CommandRegistration.TargetInfogetConsumer in interface CommandRegistration.TargetInfoCopyright © 2023. All rights reserved.