CommandValueParameter
Inherited instances must be AbstractCommandValueParameter.
Implementation details
CommandValueParameter should:
implement equals, hashCode since used in ResolvedCommandValueArgument.
implement toString to produce user-friendly textual representation of this parameter with type info.
Inheritors
Functions
Link copied to clipboard
abstract fun accepting(argument: CommandValueArgument, commandArgumentContext: CommandArgumentContext?): ArgumentAcceptance
Link copied to clipboard
open fun accepts(argument: CommandValueArgument, commandArgumentContext: CommandArgumentContext?): Boolean
Checks whether this CommandValueParameter accepts argument.