Package cloud.commandframework.execution
Interface CommandSuggestionProcessor<C>
- Type Parameters:
C
- Command sender type
- All Superinterfaces:
BiFunction<@NonNull CommandPreprocessingContext<C>,
@NonNull List<String>, @NonNull List<String>>
- All Known Implementing Classes:
FilteringCommandSuggestionProcessor
@API(status=STABLE)
public interface CommandSuggestionProcessor<C>
extends BiFunction<@NonNull CommandPreprocessingContext<C>,@NonNull List<String>,@NonNull List<String>>
Processor that formats command suggestions
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <C> @NonNull CommandSuggestionProcessor<C>
Create a pass throughCommandSuggestionProcessor
that simply returns the input.Methods inherited from interface java.util.function.BiFunction
andThen, apply
-
Method Details
-
passThrough
Create a pass throughCommandSuggestionProcessor
that simply returns the input.- Type Parameters:
C
- sender type- Returns:
- new processor
- Since:
- 1.8.0
-