NAME
Siebel::Srvrmgr::ListParser::Output::Tabular::ListCompDef - subclass to parse component definitions
SYNOPSIS
use Siebel::Srvrmgr::ListParser::Output::ListCompDef;
my $comp_defs = Siebel::Srvrmgr::ListParser::Output::Tabular::ListCompDef->new({});
DESCRIPTION
This subclass of SiebeL::Srvrmgr::ListParser::Output::Tabular parses the output of the command list comp def COMPONENT_NAME
.
The order of the fields and their configuration must follow the pattern defined below:
srvrmgr> configure list comp def
CC_NAME (76): Component name
CT_NAME (76): Component type name
CC_RUNMODE (31): Component run mode (enum)
CC_ALIAS (31): Component alias
CC_DISP_ENABLE_ST (61): Display enablement state (translatable)
CC_DESC_TEXT (115): Component description
CG_NAME (76): Component group
CG_ALIAS (31): Component Group Alias
CC_INCARN_NO (23): Incarnation Number
ATTRIBUTES
All attributes of SiebeL::Srvrmgr::ListParser::Output::Tabular.
METHODS
All methods of SiebeL::Srvrmgr::ListParser::Output::Tabular plus the ones explaned below.
get_comp_defs
Returns the content of comp_params
attribute.
set_comp_defs
Set the content of the comp_defs
attribute. Expects an array reference as parameter.
parse
Parses the content of raw_data
attribute, setting the result on parsed_data
attribute.
The contents of raw_data
is changed to an empty array reference at the end of the process.
It raises an exception when the parser is not able to define the fields_pattern
attribute.
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/.