Package io.github.mqzn.commands.base
Class Command.Builder<S>
java.lang.Object
io.github.mqzn.commands.base.Command.Builder<S>
- Type Parameters:
S
- the sender type
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
defaultExecutor
(@NotNull CommandExecution<S> execution) info
(@NotNull CommandInfo info) requirement
(@NotNull CommandRequirement<S> requirement) syntax
(@NotNull CommandExecution<S> execution, @NotNull Argument<?>... args) syntax
(@NotNull CommandExecution<S> execution, @NotNull SyntaxFlags flags, @NotNull Argument<?>... args) syntax
(@NotNull CommandExecution<S> execution, @NotNull SyntaxFlags flags, @NotNull String permission, @NotNull String description, @NotNull Argument<?>... args) syntax
(@NotNull CommandExecution<S> execution, @NotNull String permission, @NotNull String description, @NotNull Argument<?>... args) syntax
(@NotNull CommandSyntax<S> syntax)
-
Method Details
-
info
-
requirement
-
syntax
public Command.Builder<S> syntax(@NotNull @NotNull CommandExecution<S> execution, @NotNull @NotNull SyntaxFlags flags, @NotNull @NotNull Argument<?>... args) -
syntax
public Command.Builder<S> syntax(@NotNull @NotNull CommandExecution<S> execution, @NotNull @NotNull Argument<?>... args) -
syntax
-
syntax
public Command.Builder<S> syntax(@NotNull @NotNull CommandExecution<S> execution, @NotNull @NotNull String permission, @NotNull @NotNull String description, @NotNull @NotNull Argument<?>... args) -
syntax
public Command.Builder<S> syntax(@NotNull @NotNull CommandExecution<S> execution, @NotNull @NotNull SyntaxFlags flags, @NotNull @NotNull String permission, @NotNull @NotNull String description, @NotNull @NotNull Argument<?>... args) -
defaultExecutor
-
build
-