ICommand class abstract

An interface for Commands, which are part of the Command design pattern. Each command wraps a method or function and allows to call them in uniform and safe manner.

See Command See IExecutable See ICommandInterceptor See InterceptedCommand

Inheritance
Implementers

Constructors

ICommand()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute(String? correlationId, Parameters args) Future
Executes component with arguments and receives execution result.
inherited
getName() String
Gets the command name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(Parameters args) List<ValidationResult>
Validates command arguments before execution using defined schema.

Operators

operator ==(Object other) bool
The equality operator.
inherited