ICommand

An interface used to define Commands.

Extends: IExecutable

Description

The ICommand interface is used to define Commands. Each command wraps a method or function and allows calling them in a uniform and safe manner.

Instance methods

getName

Gets the command name.

String getName()

  • returns: String - command name.

validate

Validates command arguments before execution using a defined schema.

ValidationResult validate(Parameters args)

See also