Salvation::Service::State - Service state object
$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.
$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.