START - new()
This class derives from Class::Std. Please read the corresponding
documentation concerning BUILD, START construction methods and other
The new() constructor creates a new command object that is capable
of executing the referenced interface command.
Expects the following named parameters:
COMMAND => name of the command to execute
PARAMS => hash reference containing the command attributes
The constructor makes sure that only explicitly allowed commands are
accepted and throws an exception otherwise. If the constructor returns
without error (exception), the command was accepted as valid and the
passed parameters have been stored internally to be processed later
by the execute() method.
When attaching the implementation the class first try to use
an actual Perl module which is named like the command. E. g.
if command foo is requested, it tries to attach
If no such module is available (but the command itself is whitelisted
to be available for use by the caller) the execute() method detects
that no explicit implementation is available and automatically
delegates the command call to the API.