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, description, description, equals, hashCode, id, isOptional, setDefaultValue, setOptional, suggest, suggest, toString, toString, type, useRemainingSpaceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mqzn.commands.arguments.Argument
isSuggestionDynamic
-
Method Details
-
parse
public <S> Boolean parse(@UnknownNullability S sender, @NotNull @NotNull String command, @NotNull @NotNull String input) throws ArgumentParseException - Throws:
ArgumentParseException
-
suggestions
- Specified by:
suggestionsin interfaceArgument<Boolean>- Overrides:
suggestionsin classAbstractArgument<Boolean>
-
alternativeTypes
-