Interface CommandPreProcessor<S extends CommandSource>
- Type Parameters:
S- the command sender valueType
- All Superinterfaces:
CommandProcessor,Prioritizable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface CommandPreProcessor<S extends CommandSource>
extends CommandProcessor
Defines a functional interface that processes a
CommandContext
BEFORE the resolving of the arguments into values.-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(CommandContext<S> context) Processes context BEFORE the resolving operation.Methods inherited from interface studio.mevera.imperat.command.processors.CommandProcessor
getPriority
-
Method Details
-
process
Processes context BEFORE the resolving operation.- Parameters:
context- the context- Throws:
CommandException- the exception to throw if something happens
-