Class FloodgateCommandPreprocessor<C>

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

public final class FloodgateCommandPreprocessor<C> extends Object implements org.incendo.cloud.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 org.incendo.cloud.services.type.ConsumerService

    org.incendo.cloud.services.type.ConsumerService.PipeBurst
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(@NonNull org.incendo.cloud.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 org.incendo.cloud.services.type.ConsumerService

    handle

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface org.incendo.cloud.services.type.Service

    apply, order
  • Constructor Details

    • FloodgateCommandPreprocessor

      public FloodgateCommandPreprocessor(CommandUtil commandUtil)
  • Method Details

    • accept

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