Class CommandArgumentLabel
- java.lang.Object
-
- io.manebot.command.executor.chained.argument.CommandArgument
-
- io.manebot.command.executor.chained.argument.CommandArgumentLabel
-
public class CommandArgumentLabel extends CommandArgument
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCommandArgumentLabel.Argument
-
Constructor Summary
Constructors Constructor Description CommandArgumentLabel(CommandArgumentLabel.Argument argument)CommandArgumentLabel(java.lang.String label)
-
Method Summary
Modifier and Type Method Description booleancanCoexist(CommandArgument b)booleancanExtend(CommandArgument b)ChainPrioritycast(ChainState state)java.lang.StringgetHelpString()
-
-
-
Constructor Detail
-
CommandArgumentLabel
public CommandArgumentLabel(java.lang.String label)
-
CommandArgumentLabel
public CommandArgumentLabel(CommandArgumentLabel.Argument argument)
-
-
Method Detail
-
getHelpString
public java.lang.String getHelpString()
- Specified by:
getHelpStringin classCommandArgument
-
cast
public ChainPriority cast(ChainState state)
- Specified by:
castin classCommandArgument
-
canExtend
public boolean canExtend(CommandArgument b)
- Specified by:
canExtendin classCommandArgument
-
canCoexist
public boolean canCoexist(CommandArgument b)
- Specified by:
canCoexistin classCommandArgument
-
-