Class AnnotatedCommandCallback<C extends CommandContext,M extends ModuleBase<C>>
java.lang.Object
kboyle.oktane.core.module.callback.AnnotatedCommandCallback<C,M>
- All Implemented Interfaces:
CommandCallback
- Direct Known Subclasses:
ErrorModule$error$
,ErrorModule$or$
,ErrorModule$param$int_int
,ErrorModule$precon$
,ErrorModule$throw0$
,GeneratedBenchmarkModule$noParameters$
,GeneratedBenchmarkModule$oneParameter$java0lang0String
,GeneratedBenchmarkModule$twoParameters$java0lang0String_java0lang0String
,GloballySynchronisedCommandCallback
,GroupModule$a$
,GroupModule$b$
,HelpModule$help$
,OptionalModule$optional1$java0lang0String
,OptionalModule$optional2$java0lang0String
,OptionalModule$optional3$java0lang0String_java0lang0String
,OptionalModule$optional4$int
,PingModule$$Nested$nested$
,PingModule$echo$java0lang0String
,PingModule$ping$
,PingModule$ping$int_int
,PingModule$ping$kboyle0oktane0example0ExampleEnum
,SingletonCommandCallback
,SynchronisedCommandCallback
public abstract class AnnotatedCommandCallback<C extends CommandContext,M extends ModuleBase<C>>
extends Object
implements CommandCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<CommandResult>
execute(CommandContext context, Object[] beans, Object[] parameters)
abstract reactor.core.publisher.Mono<CommandResult>
abstract C
getContext(CommandContext context)
abstract M
-
Constructor Details
-
AnnotatedCommandCallback
public AnnotatedCommandCallback()
-
-
Method Details
-
getModule
-
execute
-
getContext
-
execute
public reactor.core.publisher.Mono<CommandResult> execute(CommandContext context, Object[] beans, Object[] parameters)- Specified by:
execute
in interfaceCommandCallback
-