Interface CommandPreprocessor<C>

Type Parameters:
C - command sender type
All Superinterfaces:
Consumer<CommandPreprocessingContext<C>>, ConsumerService<CommandPreprocessingContext<C>>, Function<CommandPreprocessingContext<C>,State>, Service<CommandPreprocessingContext<C>,State>, SideEffectService<CommandPreprocessingContext<C>>
All Known Implementing Classes:
AcceptingCommandPreprocessor

@API(status=STABLE) public interface CommandPreprocessor<C> extends ConsumerService<CommandPreprocessingContext<C>>
Command preprocessor that gets to act on command input before it's sent to the command parser.

Command preprocessors may filter out invalid commands by using ConsumerService.interrupt()