Alceu Rodrigues de Freitas Junior > Siebel-Srvrmgr > Siebel::Srvrmgr::ListParser::Output::ListComp::Server

Download:
Siebel-Srvrmgr-0.14.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Siebel::Srvrmgr::ListParser::Output::ListComp::Server - class to parse and aggregate information about servers and their components

SYNOPSIS ^

    use Siebel::Srvrmgr::ListParser::Output::ListComp::Server;

        Siebel::Srvrmgr::ListParser::Output::ListComp::Server->new(
                {
                        name => $servername,
                        data => $list_comp_data->{$servername}
                }
        );

DESCRIPTION ^

This class represents a server in a Siebel Enterprise and it's related components. This class is meant to be instantied by a method from Siebel::Srvrmgr::ListParser::Output::ListComp object.

This class inherits from MooseX::Storage, using the MooseX::Storage::IO::StorableFile trait. See the methods load and store for details.

ATTRIBUTES ^

data

An hash reference with the original data used to create the object.

name

A string with the name of the server.

comp_attribs

A array reference with the components attributes names

METHODS ^

get_data

Returns an hash reference from the data attribute.

get_name

Returns an string from the name attribute.

load

Load the object data and methods from a previously serialized object.

Expects as a parameter a string the filename (or complete path).

store

Stores the object data and methods in a serialized file.

Expects as a parameter a string the filename (or complete path).

get_comps

Returns an array reference with all components alias available in the server.

get_comp

Expects an string with the component alias.

Returns a Siebel::Srvrmgr::ListParser::Output::ListComp::Comp object if the component exists in the server, otherwise returns undef.

get_comp_data

Expects a string of component alias.

Returns a component data as a hash reference if the alias exists or undef otherwise.

SEE ALSO ^

AUTHOR ^

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.

COPYRIGHT AND LICENSE ^

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/.

syntax highlighting: