Package org.incendo.cloud.context
Class StandardCommandContextFactory<C>
java.lang.Object
org.incendo.cloud.context.StandardCommandContextFactory<C>
- All Implemented Interfaces:
CommandContextFactory<C>
-
Constructor Summary
ConstructorsConstructorDescriptionStandardCommandContextFactory(@NonNull CommandManager<C> commandManager) Creates a new context factory. -
Method Summary
-
Constructor Details
-
StandardCommandContextFactory
Creates a new context factory.- Parameters:
commandManager- the command manager
-
-
Method Details
-
create
Description copied from interface:CommandContextFactoryCreates a new command context.- Specified by:
createin interfaceCommandContextFactory<C>- Parameters:
suggestions- whether we're generating suggestionssender- the command sender- Returns:
- Command context
-