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>>
,java.util.function.Consumer<CommandPostprocessingContext<C>>
,java.util.function.Function<CommandPostprocessingContext<C>,cloud.commandframework.services.State>
public final class AcceptingCommandPostprocessor<C> extends java.lang.Object implements CommandPostprocessor<C>
CommandPostprocessor
that does nothing besides indicating that the context has been properly processed
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROCESSED_INDICATOR_KEY
Key used to access the context meta that indicates that the context has been fully processed
-
Constructor Summary
Constructors Constructor Description AcceptingCommandPostprocessor()
-
Method Summary
Modifier and Type Method Description void
accept(@NonNull CommandPostprocessingContext<C> context)
-
-
-
Field Detail
-
PROCESSED_INDICATOR_KEY
public static final java.lang.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
-
-
Method Detail
-
accept
public void accept(@NonNull CommandPostprocessingContext<C> context)
-
-