public static final class CommandFeedbackCreator.Default<T> extends java.lang.Object implements CommandFeedbackCreator<T>
CommandFeedbackCreator.Default<T>| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull CommandFeedback<T> |
create(@NotNull BladeCommand command,
boolean isUsage)
Creates the feedback message for the given command.
|
@NotNull public @NotNull CommandFeedback<T> create(@NotNull @NotNull BladeCommand command, boolean isUsage)
CommandFeedbackCreatorcreate in interface CommandFeedbackCreator<T>command - the Blade commandisUsage - whether this is usage feedback (adds "Usage: " prefix)