NAME
Siebel::Srvrmgr::ListParser::FSA - the FSA::Rules class specification for Siebel::Srvrmgr::ListParser
SYNOPSIS
use FSA::Rules;
my $fsa = Siebel::Srvrmgr::ListParser::FSA->get_fsa();
# do something with $fsa
# for getting a diagram exported in your currently directory with a onliner
perl -MSiebel::Srvrmgr::ListParser::FSA -e "Siebel::Srvrmgr::ListParser::FSA->export_diagram"
DESCRIPTION
Siebel::Srvrmgr::ListParser::FSA subclasses the state machine implemented by Siebel::Srvrmgr::ListParser class.
This class also have a Log::Log4perl instance built in the FSA::Rules instance returned by get_fsa method.
EXPORTS
Nothing.
METHODS
export_diagram
Creates a PNG file with the state machine diagram in the current directory where the method was invoked.
new
Returns the state machine object defined for usage with a Siebel::Srvrmgr::ListParser instance.
free_refs
This methods eliminates all circular references that version 0.31 of FSA::Rules has, which makes it impossible to call the DESTROY
before the program termination.
It should be invoked before program termination, possibly also in DESTROY
and DEMOLISH
methods of objects to give to the Perl interpreter a change to release memory by calling the related DESTROY
methods of FSA::Rules and FSA::State instances.
SEE ALSO
CAVEATS
This class has some problems, most due the API of FSA::Rules: since the state machine is a group of references to subroutines, it holds references to Siebel::Srvrmgr::ListParser, which basically causes circular references between the two classes.
There is some workaround to the caused memory leaks due this configuration, but in future releases FSA::Rules may be replaced to something else.
AUTHOR
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
This file is part of Siebel Monitoring Tools.
Siebel Monitoring Tools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Siebel Monitoring Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Siebel Monitoring Tools. If not, see <http://www.gnu.org/licenses/>.