Interface CommandPreProcessor<S extends Source>
- Type Parameters:
S- the command sender valueType
- All Superinterfaces:
CommandProcessor<S>
- All Known Implementing Classes:
UsageCooldownProcessor
- 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 Source>
extends CommandProcessor<S>
Defines a functional interface that processes a
Context
BEFORE the resolving of the arguments into values.-
Method Summary
Methods inherited from interface studio.mevera.imperat.command.processors.CommandProcessor
priority
-
Method Details
-
process
Processes context BEFORE the resolving operation.- Parameters:
imperat- the apicontext- the contextusage- The usage detected- Throws:
ImperatException- the exception to throw if something happens
-