Class AcceptingCommandPostprocessor<C>

java.lang.Object
cloud.commandframework.execution.postprocessor.AcceptingCommandPostprocessor<C>
Type Parameters:
C - Command sender type
All Implemented Interfaces:
CommandPostprocessor<C>, cloud.commandframework.services.types.ConsumerService<CommandPostprocessingContext<C>>, cloud.commandframework.services.types.Service<CommandPostprocessingContext<C>,​cloud.commandframework.services.State>, cloud.commandframework.services.types.SideEffectService<CommandPostprocessingContext<C>>, Consumer<CommandPostprocessingContext<C>>, Function<CommandPostprocessingContext<C>,​cloud.commandframework.services.State>

public final class AcceptingCommandPostprocessor<C> extends Object implements CommandPostprocessor<C>
CommandPostprocessor that does nothing besides indicating that the context has been properly processed
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    static String
    Key used to access the context meta that indicates that the context has been fully processed
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept​(@NonNull CommandPostprocessingContext<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
  • Field Details

    • PROCESSED_INDICATOR_KEY

      public static final String PROCESSED_INDICATOR_KEY
      Key used to access the context meta that indicates that the context has been fully processed
      See Also:
      Constant Field Values
  • Constructor Details

    • AcceptingCommandPostprocessor

      public AcceptingCommandPostprocessor()
  • Method Details