Interface CommandRegistration.TargetInfo
- All Known Implementing Classes:
- CommandRegistration.TargetInfo.DefaultTargetInfo
- Enclosing interface:
- CommandRegistration
public static interface CommandRegistration.TargetInfo
Encapsulates info for 
CommandRegistration.TargetSpec.- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classstatic enum
- 
Method SummaryModifier and TypeMethodDescriptiongetBean()Get the bean.Get the consumerGet the functionGet the bean methodGet target typeof(Consumer<CommandContext> consumer) of(Function<CommandContext, ?> function) 
- 
Method Details- 
getTargetTypeCommandRegistration.TargetInfo.TargetType getTargetType()Get target type- Returns:
- the target type
 
- 
getBeanObject getBean()Get the bean.- Returns:
- the bean
 
- 
getMethodMethod getMethod()Get the bean method- Returns:
- the bean method
 
- 
getFunctionFunction<CommandContext,?> getFunction()Get the function- Returns:
- the function
 
- 
getConsumerConsumer<CommandContext> getConsumer()Get the consumer- Returns:
- the consumer
 
- 
of
- 
of
- 
of
 
-