Uses of Class
kboyle.oktane.core.CommandContext
Packages that use CommandContext
Package
Description
-
Uses of CommandContext in kboyle.oktane.benchmark
Subclasses of CommandContext in kboyle.oktane.benchmarkMethods in kboyle.oktane.benchmark with parameters of type CommandContextModifier and TypeMethodDescriptionGeneratedBenchmarkModule$noParameters$.getContext(CommandContext context)
GeneratedBenchmarkModule$oneParameter$java0lang0String.getContext(CommandContext context)
GeneratedBenchmarkModule$twoParameters$java0lang0String_java0lang0String.getContext(CommandContext context)
-
Uses of CommandContext in kboyle.oktane.core
Classes in kboyle.oktane.core with type parameters of type CommandContextModifier and TypeClassDescriptionclass
CommandHandler<CONTEXT extends CommandContext>
The entry point for executing commands.static class
CommandHandler.Builder<CONTEXT extends CommandContext>
A builder for theCommandHandler
.Methods in kboyle.oktane.core with type parameters of type CommandContextModifier and TypeMethodDescriptionstatic <CONTEXT extends CommandContext>
CommandHandler.Builder<CONTEXT>CommandHandler.builder()
Creates a new builder for theCommandHandler
.Methods in kboyle.oktane.core with parameters of type CommandContextModifier and TypeMethodDescriptiondefault reactor.core.publisher.Mono<Integer>
PrefixHandler.find(CommandContext context)
Finds the index to start parsing from.reactor.core.publisher.Mono<Collection<Prefix>>
PrefixHandler.get(CommandContext context)
Gets thePrefix
's for the givenCommandContext
.static reactor.core.publisher.Mono<PreconditionResult>
CommandUtils.runParameterPreconditions(CommandContext context, Command command)
Runs thePrecondition
s for the parameters of the givenCommand
.static reactor.core.publisher.Mono<PreconditionResult>
CommandUtils.runPreconditions(CommandContext context, Command command, com.google.common.collect.ImmutableList<Precondition> preconditions)
Runs the givenPrecondition
s. -
Uses of CommandContext in kboyle.oktane.core.module
Classes in kboyle.oktane.core.module with type parameters of type CommandContextModifier and TypeClassDescriptionclass
ModuleBase<CONTEXT extends CommandContext>
Represents a base class to designate a class as aCommandModule
.Methods in kboyle.oktane.core.module with type parameters of type CommandContextModifier and TypeMethodDescriptionstatic <CONTEXT extends CommandContext>
voidModuleBaseProxy.setContext(ModuleBase<CONTEXT> module, CONTEXT context)
Methods in kboyle.oktane.core.module with parameters of type CommandContextModifier and TypeMethodDescriptionreactor.core.publisher.Mono<PreconditionResult>
Precondition.run(CommandContext context, Command command)
reactor.core.publisher.Mono<PreconditionResult>
Command.runPreconditions(CommandContext context)
Runs the preconditions that belong to this command.reactor.core.publisher.Mono<PreconditionResult>
CommandModule.runPreconditions(CommandContext context, Command command)
Runs the preconditions that belong to this module. -
Uses of CommandContext in kboyle.oktane.core.module.callback
Classes in kboyle.oktane.core.module.callback with type parameters of type CommandContextModifier and TypeClassDescriptionclass
AnnotatedCommandCallback<C extends CommandContext,M extends ModuleBase<C>>
class
GloballySynchronisedCommandCallback<C extends CommandContext,M extends ModuleBase<C>>
class
SingletonCommandCallback<C extends CommandContext,M extends ModuleBase<C>>
class
SynchronisedCommandCallback<C extends CommandContext,M extends ModuleBase<C>>
Methods in kboyle.oktane.core.module.callback with parameters of type CommandContextModifier and TypeMethodDescriptionreactor.core.publisher.Mono<CommandResult>
AnnotatedCommandCallback.execute(CommandContext context, Object[] beans, Object[] parameters)
reactor.core.publisher.Mono<CommandResult>
CommandCallback.execute(CommandContext context, Object[] beans, Object[] parameters)
abstract C
AnnotatedCommandCallback.getContext(CommandContext context)
GloballySynchronisedCommandCallback.getContext(CommandContext context)
SingletonCommandCallback.getContext(CommandContext context)
SynchronisedCommandCallback.getContext(CommandContext context)
-
Uses of CommandContext in kboyle.oktane.core.module.factory
Classes in kboyle.oktane.core.module.factory with type parameters of type CommandContextModifier and TypeClassDescriptionclass
CommandFactory<CONTEXT extends CommandContext,MODULE extends ModuleBase<CONTEXT>>
class
CommandModuleFactory<CONTEXT extends CommandContext,BASE extends ModuleBase<CONTEXT>>
-
Uses of CommandContext in kboyle.oktane.core.parsers
Methods in kboyle.oktane.core.parsers with parameters of type CommandContextModifier and TypeMethodDescriptionreactor.core.publisher.Mono<ArgumentParserResult>
ArgumentParser.parse(CommandContext context, Command command, List<String> tokens)
reactor.core.publisher.Mono<ArgumentParserResult>
DefaultArgumentParser.parse(CommandContext context, Command command, List<String> tokens)
reactor.core.publisher.Mono<TypeParserResult<T>>
EnumTypeParser.parse(CommandContext context, Command command, String input)
reactor.core.publisher.Mono<TypeParserResult<T>>
PrimitiveTypeParser.parse(CommandContext context, Command command, String input)
reactor.core.publisher.Mono<TypeParserResult<T>>
TypeParser.parse(CommandContext context, Command command, String input)
-
Uses of CommandContext in kboyle.oktane.core.precondition
Methods in kboyle.oktane.core.precondition with parameters of type CommandContextModifier and TypeMethodDescriptionreactor.core.publisher.Mono<PreconditionResult>
AnyPrecondition.run(CommandContext context, Command command)
-
Uses of CommandContext in kboyle.oktane.core.prefix
Methods in kboyle.oktane.core.prefix with parameters of type CommandContextModifier and TypeMethodDescriptionint
CharPrefix.find(CommandContext context)
int
Prefix.find(CommandContext context)
Returns the index after the prefix, -1 if not found.int
StringPrefix.find(CommandContext context)
reactor.core.publisher.Mono<Collection<Prefix>>
DefaultPrefixHandler.get(CommandContext context)
-
Uses of CommandContext in kboyle.oktane.discord4j
Subclasses of CommandContext in kboyle.oktane.discord4j -
Uses of CommandContext in kboyle.oktane.discord4j.parsers
Methods in kboyle.oktane.discord4j.parsers with parameters of type CommandContextModifier and TypeMethodDescriptionreactor.core.publisher.Mono<TypeParserResult<T>>
DiscordTypeParser.parse(CommandContext context, Command command, String input)
-
Uses of CommandContext in kboyle.oktane.discord4j.precondition
Methods in kboyle.oktane.discord4j.precondition with parameters of type CommandContextModifier and TypeMethodDescriptionreactor.core.publisher.Mono<PreconditionResult>
DiscordPrecondition.run(CommandContext context, Command command)
-
Uses of CommandContext in kboyle.oktane.discord4j.prefix
Methods in kboyle.oktane.discord4j.prefix with parameters of type CommandContextModifier and TypeMethodDescriptionint
DiscordPrefix.find(CommandContext context)
default reactor.core.publisher.Mono<Collection<Prefix>>
DiscordPrefixHandler.get(CommandContext context)
-
Uses of CommandContext in kboyle.oktane.example
Subclasses of CommandContext in kboyle.oktane.example -
Uses of CommandContext in kboyle.oktane.example.modules
Methods in kboyle.oktane.example.modules with parameters of type CommandContextModifier and TypeMethodDescriptionErrorModule$error$.getContext(CommandContext context)
ErrorModule$or$.getContext(CommandContext context)
ErrorModule$param$int_int.getContext(CommandContext context)
ErrorModule$precon$.getContext(CommandContext context)
ErrorModule$throw0$.getContext(CommandContext context)
GroupModule$a$.getContext(CommandContext context)
GroupModule$b$.getContext(CommandContext context)
HelpModule$help$.getContext(CommandContext context)
OptionalModule$optional1$java0lang0String.getContext(CommandContext context)
OptionalModule$optional2$java0lang0String.getContext(CommandContext context)
OptionalModule$optional3$java0lang0String_java0lang0String.getContext(CommandContext context)
OptionalModule$optional4$int.getContext(CommandContext context)
PingModule$$Nested$nested$.getContext(CommandContext context)
PingModule$echo$java0lang0String.getContext(CommandContext context)
PingModule$ping$.getContext(CommandContext context)
PingModule$ping$int_int.getContext(CommandContext context)
PingModule$ping$kboyle0oktane0example0ExampleEnum.getContext(CommandContext context)
-
Uses of CommandContext in kboyle.oktane.example.preconditions
Methods in kboyle.oktane.example.preconditions with parameters of type CommandContextModifier and TypeMethodDescriptionreactor.core.publisher.Mono<PreconditionResult>
RequireFailure.FailurePrecondition.run(CommandContext context, Command command)
reactor.core.publisher.Mono<PreconditionResult>
RequireHi.HiPrecondition.run(CommandContext context, Command command)