NAME
Class::AbstractLogic::Action - Encapsulates a Logic Action
DESCRIPTION
Holds anything to do with a logical action method. These are installed in the requesting package at runtime and contain verification and other action call related logic. You should not create an object of this class by yourself, but use Class::AbstractLogics action
helper.
METHODS
new(%args)
Creates new Action and _initialize
s the %args
.
install($target_class, $target_name)
Installs this action in the $target_class
under the $target_name
.
execute($logic_module, %args)
Executes this action after verifying the %args
. This also provides the %_
and &_
globals.
_verify_arguments(%args)
Verifies if all needed values are in %args
and if all passed values pass their verification constraints.
_code() / _needs() / _name() / _verify()
Accessors for the actions properties.
_manager()
Contains the current executions Class::AbstractLogic::Manager.
_initialize(%args)
Initializes the %args
.
SEE ALSO
AUTHOR
Robert 'phaylon' Sedlacek <phaylon@dunkelheit.at>
LICENSE AND COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.