Class CommandArgument
- java.lang.Object
-
- io.manebot.command.executor.chained.argument.CommandArgument
-
- Direct Known Subclasses:
CommandArgumentFollowing
,CommandArgumentInterval
,CommandArgumentLabel
,CommandArgumentNone
,CommandArgumentNumeric
,CommandArgumentOptional
,CommandArgumentPage
,CommandArgumentSearch
,CommandArgumentString
,CommandArgumentSwitch
public abstract class CommandArgument extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandArgument()
-
Method Summary
Modifier and Type Method Description abstract boolean
canCoexist(CommandArgument b)
abstract boolean
canExtend(CommandArgument b)
abstract ChainPriority
cast(ChainState state)
abstract java.lang.String
getHelpString()
-
-
-
Method Detail
-
getHelpString
public abstract java.lang.String getHelpString()
-
cast
public abstract ChainPriority cast(ChainState state) throws CommandExecutionException
- Throws:
CommandExecutionException
-
canExtend
public abstract boolean canExtend(CommandArgument b)
-
canCoexist
public abstract boolean canCoexist(CommandArgument b)
-
-