Class StructureArgument.StructureArgumentBuilder
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.comands.StructureArgument.StructureArgumentBuilder
- Enclosing class:
StructureArgument
-
Method Summary
Modifier and TypeMethodDescriptionasyncSuggestions(boolean asyncSuggestions) build()defaultDescription(@Nullable cloud.commandframework.ArgumentDescription defaultDescription) defaultValue(@Nullable String defaultValue) maxPermission(PermissionLevel maxPermission) properties(Property<?>[] properties) required(boolean required) structureRetrieverFactory(StructureRetrieverFactory structureRetrieverFactory) suggestionsProvider(@Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider) toString()
-
Method Details
-
required
- Returns:
this.
-
name
- Returns:
this.
-
defaultValue
public StructureArgument.StructureArgumentBuilder defaultValue(@Nullable @Nullable String defaultValue) - Returns:
this.
-
suggestionsProvider
public StructureArgument.StructureArgumentBuilder suggestionsProvider(@Nullable @Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider) - Returns:
this.
-
defaultDescription
public StructureArgument.StructureArgumentBuilder defaultDescription(@Nullable @Nullable cloud.commandframework.ArgumentDescription defaultDescription) - Returns:
this.
-
asyncSuggestions
- Returns:
this.
-
executor
- Returns:
this.
-
structureRetrieverFactory
public StructureArgument.StructureArgumentBuilder structureRetrieverFactory(StructureRetrieverFactory structureRetrieverFactory) - Returns:
this.
-
maxPermission
- Returns:
this.
-
properties
- Returns:
this.
-
build
-
toString
-