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
.