Class BooleanVariableValueArgument.Builder<C>
java.lang.Object
cloud.commandframework.arguments.CommandArgument.Builder<C,String>
rocks.gravili.notquests.paper.commands.arguments.variables.BooleanVariableValueArgument.Builder<C>
- Enclosing class:
- BooleanVariableValueArgument<C>
public static final class BooleanVariableValueArgument.Builder<C>
extends cloud.commandframework.arguments.CommandArgument.Builder<C,String>
-
Method Summary
Modifier and TypeMethodDescriptionasOptionalWithDefault
(int defaultValue) Sets the command argument to be optional, with the specified default value.build()
Methods inherited from class cloud.commandframework.arguments.CommandArgument.Builder
asOptional, asOptionalWithDefault, asRequired, getDefaultDescription, getDefaultValue, getName, getParser, getSuggestionsProvider, getValueType, isRequired, manager, withDefaultDescription, withParser, withSuggestionsProvider
-
Method Details
-
asOptionalWithDefault
Sets the command argument to be optional, with the specified default value.- Parameters:
defaultValue
- default value- Returns:
- this builder
- Since:
- 1.5.0
- See Also:
-
CommandArgument.Builder.asOptionalWithDefault(String)
-
build
-