Siebel::Srvrmgr::Daemon::Action::ListComps - subclass of Siebel::Srvrmgr::Daemon::Action to deal with list comp output
use Siebel::Srvrmgr::Daemon::Action::ListComps; my $action = Siebel::Srvrmgr::Daemon::Action::ListComps->new({ parser => Siebel::Srvrmgr::ListParser->new(), params => [$myDumpFile]}); $action->do(\@output);
This subclass of Siebel::Srvrmgr::Daemon::Action will try to find a Siebel::Srvrmgr::ListParser::Output::ListComp object in the given array reference given as parameter to the do method and stores the parsed data from this object in a serialized file.
do
It will check if the object given as parameter is a Siebel::Srvrmgr::ListParser::Output::ListComp. If true, it will call the get_servers method from this class and then iterate over the servers (objects from the class Siebel::Srvrmgr::ListParser::Output::ListComp::Server) calling their respective store method to serialize themselves into the OS filesystem.
get_servers
store
The name of the filename used for data serialization will be the value of dump_file append with the character '_' and the server name.
dump_file
This method will return 1 if this operation was executed sucessfuly, 0 otherwise.
Siebel::Srvrmgr::ListParser::Output::ListComp
Siebel::Srvrmgr::ListParser::Output::ListComp::Server
Siebel::Srvrmgr::Daemon::Action
Siebel::Srvrmgr::Daemon::Action::Serializable
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org<>
This software is copyright (c) 2012 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.