Class FloodgateCommandPreprocessor<C>

java.lang.Object
org.geysermc.floodgate.core.player.FloodgateCommandPreprocessor<C>
Type Parameters:
C - Command sender type
All Implemented Interfaces:
cloud.commandframework.execution.preprocessor.CommandPreprocessor<C>, cloud.commandframework.services.types.ConsumerService<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<C>>, cloud.commandframework.services.types.Service<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<C>,cloud.commandframework.services.State>, cloud.commandframework.services.types.SideEffectService<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<C>>, Consumer<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<C>>, Function<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<C>,cloud.commandframework.services.State>

public final class FloodgateCommandPreprocessor<C> extends Object implements cloud.commandframework.execution.preprocessor.CommandPreprocessor<C>
Command preprocessor which decorated incoming CommandContext with Floodgate specific objects
Since:
2.0
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(@NonNull cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<C> context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Consumer

    andThen

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

    handle

    Methods inherited from interface java.util.function.Function

    andThen, compose

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

    apply, order
  • Constructor Details

    • FloodgateCommandPreprocessor

      public FloodgateCommandPreprocessor(CommandUtil commandUtil)
  • Method Details

    • accept

      public void accept(@NonNull cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<C> context)
      Specified by:
      accept in interface Consumer<C>
      Specified by:
      accept in interface cloud.commandframework.services.types.ConsumerService<C>