Class CommandArgumentString
- java.lang.Object
-
- io.manebot.command.executor.chained.argument.CommandArgument
-
- io.manebot.command.executor.chained.argument.CommandArgumentString
-
public class CommandArgumentString extends CommandArgument
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CommandArgumentString.Argument
-
Constructor Summary
Constructors Constructor Description CommandArgumentString(CommandArgumentString.Argument argument)
CommandArgumentString(java.lang.String label)
CommandArgumentString(java.lang.String label, ChainPriority priority)
-
Method Summary
Modifier and Type Method Description boolean
canCoexist(CommandArgument b)
boolean
canExtend(CommandArgument b)
ChainPriority
cast(ChainState state)
java.lang.String
getHelpString()
-
-
-
Constructor Detail
-
CommandArgumentString
public CommandArgumentString(java.lang.String label)
-
CommandArgumentString
public CommandArgumentString(java.lang.String label, ChainPriority priority)
-
CommandArgumentString
public CommandArgumentString(CommandArgumentString.Argument argument)
-
-
Method Detail
-
getHelpString
public java.lang.String getHelpString()
- Specified by:
getHelpString
in classCommandArgument
-
cast
public ChainPriority cast(ChainState state)
- Specified by:
cast
in classCommandArgument
-
canExtend
public boolean canExtend(CommandArgument b)
- Specified by:
canExtend
in classCommandArgument
-
canCoexist
public boolean canCoexist(CommandArgument b)
- Specified by:
canCoexist
in classCommandArgument
-
-