Siebel::Srvrmgr::ListParser::FSA - the FSA::Rules class specification for Siebel::Srvrmgr::ListParser
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"
Siebel::Srvrmgr::ListParser::FSA subclasses the state machine implemented by FSA::Rules, which is used by Siebel::Srvrmgr::ListParser class.
This class also have a Log::Log4perl instance built in.
Nothing.
Creates a PNG file with the state machine diagram in the current directory where the method was invoked.
Returns the state machine object defined for usage with a Siebel::Srvrmgr::ListParser instance.
Expects as parameter a hash table reference containing all the commands alias as keys and their respective regular expressions to detect state change as values. See Siebel::Srvrmgr::ListParser::OutputFactory get_mapping method for details.
get_mapping
Set the array reference of the data to be parsed by this object.
Returns a string, the current line being processed by this object.
Siebel::Srvrmgr::ListParser
FSA::Rules
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.
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
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/>.
To install Siebel::Srvrmgr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Siebel::Srvrmgr
CPAN shell
perl -MCPAN -e shell install Siebel::Srvrmgr
For more information on module installation, please visit the detailed CPAN module installation guide.