Interface CommandPreprocessor<C>

Type Parameters:
C - Command sender type
All Superinterfaces:
Consumer<CommandPreprocessingContext<C>>, cloud.commandframework.services.types.ConsumerService<CommandPreprocessingContext<C>>, Function<CommandPreprocessingContext<C>,​cloud.commandframework.services.State>, cloud.commandframework.services.types.Service<CommandPreprocessingContext<C>,​cloud.commandframework.services.State>, cloud.commandframework.services.types.SideEffectService<CommandPreprocessingContext<C>>
All Known Implementing Classes:
AcceptingCommandPreprocessor

public interface CommandPreprocessor<C> extends cloud.commandframework.services.types.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()

  • Nested Class Summary

    Nested classes/interfaces inherited from interface cloud.commandframework.services.types.ConsumerService

    cloud.commandframework.services.types.ConsumerService.PipeBurst
  • Method Summary

    Methods inherited from interface java.util.function.Consumer

    andThen

    Methods inherited from interface cloud.commandframework.services.types.ConsumerService

    accept, handle

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface cloud.commandframework.services.types.Service

    apply, order