Salvation::Service::State - Service state object
Moose
$state -> view_output();
Returns an instance of Salvation::Service::View::Stack, or an ArrayRef if such instances (depending on Salvation::Service::View::MULTINODE value), as it has been returned from the view after it has been processed.
Salvation::Service::View::MULTINODE
$state -> output();
Returns a value as it has been set by Salvation::Service::OutputProcessor after its job is done.
$state -> stop();
Mark service as stopped. This will interrupt a service on the next state check which occurs often during the execution flow stage changes.
$state -> resume();
Remove "stopped" mark from service.
$state -> stopped();
Returns a boolean value indicating whether service is marked as "stopped", or not.
$state -> skip_view();
Tells service to ignore upcoming view processing. Should be called at stages before view processing actually began.
$state -> use_view();
If the service been told to ignore view processing - cancels such ignorance. Should be called at stages before view processing actually began.
$state -> need_to_skip_view();
Returns a boolean value indicating whether service has been told to ignore view processing, or not.
To install Salvation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Salvation
CPAN shell
perl -MCPAN -e shell install Salvation
For more information on module installation, please visit the detailed CPAN module installation guide.