Class ArgumentBoolean
java.lang.Object
io.github.mqzn.commands.arguments.AbstractArgument<Boolean>
io.github.mqzn.commands.arguments.ArgumentBoolean
-
Field Summary
Fields inherited from class io.github.mqzn.commands.arguments.AbstractArgument
suggestions
-
Method Summary
Methods inherited from class io.github.mqzn.commands.arguments.AbstractArgument
asOptional, defaultValue, id, isOptional, setDefaultValue, setOptional, suggest, toString, type, useRemainingSpace
-
Method Details
-
parse
public Boolean parse(@NotNull @NotNull Command<?> command, @NotNull @NotNull String input) throws ArgumentParseException - Throws:
ArgumentParseException
-
suggestions
- Specified by:
suggestions
in interfaceArgument<Boolean>
- Overrides:
suggestions
in classAbstractArgument<Boolean>
-
alternativeTypes
-