Uses of Class
com.ultikits.ultitools.abstracts.command.BaseCommandExecutor
Packages that use BaseCommandExecutor
Package
Description
New command handling framework with improved architecture.
Internal compilation and lifecycle binding of Brigadier trees.
-
Uses of BaseCommandExecutor in com.ultikits.ultitools.abstracts.command
Fields in com.ultikits.ultitools.abstracts.command with type parameters of type BaseCommandExecutorModifier and TypeFieldDescriptionprivate static final List<WeakReference<BaseCommandExecutor>> BaseCommandExecutor.DISPATCHED_EXECUTORSExecutors that have dispatched at least once and have not been torn down (case 48): the sharers an unloading executor must not release a validator from under.Methods in com.ultikits.ultitools.abstracts.command that return types with arguments of type BaseCommandExecutorModifier and TypeMethodDescriptionprivate static List<BaseCommandExecutor> BaseCommandExecutor.leaveDispatchedExecutors(BaseCommandExecutor leaving) Removesleavingand every cleared reference fromBaseCommandExecutor.DISPATCHED_EXECUTORSand returns the executors that remain.Methods in com.ultikits.ultitools.abstracts.command with parameters of type BaseCommandExecutorModifier and TypeMethodDescriptionprivate static List<BaseCommandExecutor> BaseCommandExecutor.leaveDispatchedExecutors(BaseCommandExecutor leaving) Removesleavingand every cleared reference fromBaseCommandExecutor.DISPATCHED_EXECUTORSand returns the executors that remain.ConfigBoundCooldownState.seconds(BaseCommandExecutor executor) static voidConfigBoundCooldownState.setSeconds(BaseCommandExecutor executor, Map<String, Integer> seconds) Replacesexecutor's resolved bound-cooldown seconds.static voidConfigBoundCooldownState.setSources(BaseCommandExecutor executor, Map<String, Supplier<Long>> sources) Replacesexecutor's bound-cooldown value sources.ConfigBoundCooldownState.sources(BaseCommandExecutor executor) Method parameters in com.ultikits.ultitools.abstracts.command with type arguments of type BaseCommandExecutorModifier and TypeMethodDescriptionprivate static booleanBaseCommandExecutor.isUsedByAnotherExecutor(CommandValidator validator, List<BaseCommandExecutor> others) Whether one ofothersstill dispatches throughvalidator(the same instance). -
Uses of BaseCommandExecutor in com.ultikits.ultitools.command.engine
Fields in com.ultikits.ultitools.command.engine declared as BaseCommandExecutorModifier and TypeFieldDescriptionprivate final BaseCommandExecutorCommandInvocation.executorprivate final BaseCommandExecutorFrameworkReplies.executorprivate final BaseCommandExecutorSuggestionBridge.executorMethods in com.ultikits.ultitools.command.engine with parameters of type BaseCommandExecutorModifier and TypeMethodDescription(package private) CompiledCommandCommandTreeCompiler.compile(BaseCommandExecutor executor, String description, CommandTreeCompiler.Invocation invocation, com.mojang.brigadier.Command<io.papermc.paper.command.brigadier.CommandSourceStack> help) (package private) CompiledCommandCommandTreeCompiler.compile(BaseCommandExecutor executor, String description, List<String> aliases, String permission, boolean requireOp, CommandTreeCompiler.Invocation invocation, com.mojang.brigadier.Command<io.papermc.paper.command.brigadier.CommandSourceStack> help) booleanCommandEngine.register(Object owner, String ownerName, BaseCommandExecutor executor, String description, String permission, boolean requireOp, List<String> aliases) Registers an annotation executor under its owner without accessing Paper's dispatcher.private static voidCommandTreeCompiler.rejectDuplicateFormats(BaseCommandExecutor executor) Constructors in com.ultikits.ultitools.command.engine with parameters of type BaseCommandExecutorModifierConstructorDescription(package private)CommandInvocation(BaseCommandExecutor executor) (package private)CommandInvocation(BaseCommandExecutor executor, String commandName) (package private)FrameworkReplies(BaseCommandExecutor executor, com.mojang.brigadier.tree.LiteralCommandNode<io.papermc.paper.command.brigadier.CommandSourceStack> original, FrameworkReplies.Redispatch redispatch) (package private)SuggestionBridge(BaseCommandExecutor executor) -
Uses of BaseCommandExecutor in com.ultikits.ultitools.commands
Subclasses of BaseCommandExecutor in com.ultikits.ultitools.commandsModifier and TypeClassDescriptionclassLinks this server to UltiCloud with a device code (protocol v2).classclassThe command that reloads UltiTools-API. -
Uses of BaseCommandExecutor in com.ultikits.ultitools.manager
Fields in com.ultikits.ultitools.manager with type parameters of type BaseCommandExecutorModifier and TypeFieldDescriptionprivate final List<BaseCommandExecutor> CommandManager.coreExecutorsMethods in com.ultikits.ultitools.manager that return types with arguments of type BaseCommandExecutorModifier and TypeMethodDescriptionprivate static List<BaseCommandExecutor> PluginManager.baseCommandExecutors(SimpleContainer context) Methods in com.ultikits.ultitools.manager with parameters of type BaseCommandExecutorModifier and TypeMethodDescriptionprivate static @Nullable CmdExecutorCommandManager.annotation(BaseCommandExecutor executor) PluginManager.cooldownDeclarations(BaseCommandExecutor executor) Every@CmdCDthe executor's validator can meet, each paired with a display owner for messages: the class-level annotation, and for each@CmdMappingmethod the annotationCooldownValidatoritself resolves (most-derived-wins), in the same way.voidCommandManager.registerCoreCommand(BaseCommandExecutor executor) Registers a framework-owned command during enable.private voidCommandManager.registerExecutor(Object owner, String ownerName, BaseCommandExecutor executor, UltiToolsPlugin module) private static voidPluginManager.resolveCooldownBindings(UltiToolsPlugin plugin, BaseCommandExecutor executor, Map<String, Integer> resolved, Map<String, Supplier<Long>> sources) Resolves every bound@CmdCDofexecutoronce, at load: shape, key, field, and range (an out-of-range value refuses the module).(package private) static voidPluginManager.validateCommandExecutorContract(BaseCommandExecutor executor) The per-executor half ofPluginManager.validateCommandExecutorContracts(SimpleContainer)-- package-private, not private, soPluginManagerCommandContractTest(same package) can drive it directly with a hand-built fixture, without reflection orsetAccessible(true).private static voidPluginManager.validateSuggestMethodSignatureForMethod(BaseCommandExecutor executor, Class<?> executorClass, Method method) T-05-fix Part 2's load-time half of method-name@CmdParam.suggest()resolution: asuggest()value that does NOT start with@names a method looked up EXACTLY asMethodInvocationCompleter.complete(TabCompletionContext)looks it up at completion time --MethodInvocationCompleter.getSuggestMethodsByName(Object, String)checks the executor's own class first, then any@CmdSuggest-referenced classes.Method parameters in com.ultikits.ultitools.manager with type arguments of type BaseCommandExecutorModifier and TypeMethodDescriptionprivate static StringPluginManager.firstBinding(Collection<Object> beans, List<BaseCommandExecutor> executors) voidCommandManager.register(UltiToolsPlugin plugin, Class<? extends BaseCommandExecutor> clazz) Registers a manually managed annotation executor from the module container.voidCommandManager.register(UltiToolsPlugin plugin, Class<? extends BaseCommandExecutor> clazz, String permission, String description, String... aliases) Registers an executor obtained from its module's own container.