Uses of Class
com.ultikits.ultitools.abstracts.command.CommandContext
Packages that use CommandContext
Package
Description
New command handling framework with improved architecture.
Command validation framework using Chain of Responsibility pattern.
Built-in command validators.
-
Uses of CommandContext in com.ultikits.ultitools.abstracts.command
Methods in com.ultikits.ultitools.abstracts.command that return CommandContextModifier and TypeMethodDescriptionCommandContext.withMatchedMethod(Method method, String format) Creates a new context with a matched method.CommandContext.withParsedParams(Map<String, String[]> params) Creates a new context with additional parsed parameters.Methods in com.ultikits.ultitools.abstracts.command with parameters of type CommandContextModifier and TypeMethodDescriptionprotected Object[]BaseCommandExecutor.buildMethodParams(CommandContext context, Method method) Builds the method parameters from the command context.protected voidBaseCommandExecutor.executeCommand(CommandContext context, Method method, Object[] params) Executes the command method.private ObjectBaseCommandExecutor.resolveCmdParam(CommandContext context, Parameter parameter, Class<?> paramType) private ObjectBaseCommandExecutor.resolveParameter(CommandContext context, Parameter parameter) private ObjectBaseCommandExecutor.resolveSender(CommandContext context, Class<?> paramType) -
Uses of CommandContext in com.ultikits.ultitools.abstracts.command.validation
Methods in com.ultikits.ultitools.abstracts.command.validation with parameters of type CommandContextModifier and TypeMethodDescriptiondefault booleanCommandValidator.shouldValidate(CommandContext context) Checks if this validator should be applied to the given context.CommandValidator.validate(CommandContext context) Validates the command context.ValidatorChain.validate(CommandContext context) Validates the context through all validators in the chain.ValidatorChain.validateAll(CommandContext context) Validates the context through all validators, collecting all failures. -
Uses of CommandContext in com.ultikits.ultitools.abstracts.command.validation.validators
Methods in com.ultikits.ultitools.abstracts.command.validation.validators with parameters of type CommandContextModifier and TypeMethodDescriptionbooleanUsageLockValidator.acquireLock(CommandContext context) Acquires a lock for command execution.voidCooldownValidator.applyCooldown(CommandContext context) Applies cooldown after command execution.private CmdTarget.CmdTargetTypeSenderTypeValidator.determineTargetType(CommandContext context) Determines the effective target type from context or method annotation.voidUsageLockValidator.releaseLock(CommandContext context) Releases a lock after command execution.CooldownValidator.validate(CommandContext context) PermissionValidator.validate(CommandContext context) SenderTypeValidator.validate(CommandContext context) UsageLockValidator.validate(CommandContext context) UsageLockValidator.validateSenderLock(CommandContext context, String methodKey) UsageLockValidator.validateServerLock(CommandContext context, String methodKey)