GraphMine

graphmine-core / io.github.sof3.graphmine.command / RegisteredOverload

RegisteredOverload

class RegisteredOverload : I18nable

A factory that creates a new instance of a known command overload for each command execution.

Constructors

<init> RegisteredOverload(klass: KClass<out Overload>)
A factory that creates a new instance of a known command overload for each command execution.

Properties

args val args: List<CommandArg<*>>
The arguments applicable to this overload
i18n val i18n: I18n

Functions

accept fun accept(parser: FormattedStringReader): Overload?
Accepts a command and tries to parse it.