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 TypeClassDescriptionclassCommandHandler<CONTEXT extends CommandContext>The entry point for executing commands.static classCommandHandler.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 thePreconditions 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 givenPreconditions. -
Uses of CommandContext in kboyle.oktane.core.module
Classes in kboyle.oktane.core.module with type parameters of type CommandContextModifier and TypeClassDescriptionclassModuleBase<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 TypeClassDescriptionclassAnnotatedCommandCallback<C extends CommandContext,M extends ModuleBase<C>>classGloballySynchronisedCommandCallback<C extends CommandContext,M extends ModuleBase<C>>classSingletonCommandCallback<C extends CommandContext,M extends ModuleBase<C>>classSynchronisedCommandCallback<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 CAnnotatedCommandCallback.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 TypeClassDescriptionclassCommandFactory<CONTEXT extends CommandContext,MODULE extends ModuleBase<CONTEXT>>classCommandModuleFactory<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 TypeMethodDescriptionintCharPrefix.find(CommandContext context)intPrefix.find(CommandContext context)Returns the index after the prefix, -1 if not found.intStringPrefix.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 TypeMethodDescriptionintDiscordPrefix.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)