Alceu Rodrigues de Freitas Junior > Siebel-Srvrmgr > Siebel::Srvrmgr::ListParser::Buffer

Download:
Siebel-Srvrmgr-0.14.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Siebel::Srvrmgr::ListParser::Buffer - class to store output of commands

SYNOPSIS ^

        my $buffer = Siebel::Srvrmgr::ListParser::Buffer->new(
                {
                        type     => 'sometype',
                        cmd_line => 'list something'
                }
        );

        $buffer->set_content( $cmd_output_line );

DESCRIPTION ^

This class is used by Siebel::Srvrmgr::ListParser to store output read (between two commands) while is processing all the output.

ATTRIBUTES ^

type

String that identified which kind of output is being stored. This will be used by abstract factory classes to instantiate objects from Siebel::Srvrmgr::ListParser::Output subclasses.

cmd_line

String that contains the identified commands that generated the output.

content

An array reference with the output being stored. Each index is one line read stored from the output.

METHODS ^

get_type

Returns the string stored in the attribute type.

get_cmd_line

Returns the string stored in the attribute type.

get_content

set_content

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: