Class DirectionArgument.DirectionArgumentBuilder
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.comands.DirectionArgument.DirectionArgumentBuilder
- Enclosing class:
DirectionArgument
-
Method Summary
Modifier and TypeMethodDescriptionbuild()defaultDescription(@Nullable cloud.commandframework.ArgumentDescription defaultDescription) defaultValue(@Nullable String defaultValue) parser(DirectionParser parser) required(boolean required) suggestionsProvider(@Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider) toString()
-
Method Details
-
required
- Returns:
this.
-
name
- Returns:
this.
-
defaultValue
public DirectionArgument.DirectionArgumentBuilder defaultValue(@Nullable @Nullable String defaultValue) - Returns:
this.
-
suggestionsProvider
public DirectionArgument.DirectionArgumentBuilder suggestionsProvider(@Nullable @Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider) - Returns:
this.
-
defaultDescription
public DirectionArgument.DirectionArgumentBuilder defaultDescription(@Nullable @Nullable cloud.commandframework.ArgumentDescription defaultDescription) - Returns:
this.
-
parser
- Returns:
this.
-
build
-
toString
-