Package cloud.commandframework.context
Interface CommandContextFactory<C>
-
- Type Parameters:
C
- Command sender
- All Known Implementing Classes:
StandardCommandContextFactory
public interface CommandContextFactory<C>
Factory forCommandContext
instances
-
-
Method Summary
Modifier and Type Method Description @NonNull CommandContext<C>
create(boolean suggestions, @NonNull C sender, @NonNull CaptionRegistry<C> captionRegistry)
Create a new command context
-
-
-
Method Detail
-
create
@NonNull CommandContext<C> create(boolean suggestions, @NonNull C sender, @NonNull CaptionRegistry<C> captionRegistry)
Create a new command context- Parameters:
suggestions
- Whether or not the sender is requesting suggestionssender
- Command sendercaptionRegistry
- Caption registry- Returns:
- Command context
-
-