NAME
Siebel::Srvrmgr::ListParser::Output::ListTasks::Task - class to represent a Siebel task
SYNOPSIS
my $task = $class->new(
{
server_name => 'siebfoobar',
comp_alias => 'SRProc',
id => 5242888,
pid => 20503,
status => 'Running'
}
)
DESCRIPTION
An object that represents each task from a list tasks
command output from srvrmgr program.
ATTRIBUTES
The list of attributes, with their respective inner parenthesis:
server_name: Server name (string)
comp_alias: Component alias (string)
id: Internal task id (integer)
pid: Task process id (integer)
run_state: Task run state (string)
run_mode: Task run mode (string)
start_time: Task start time (string)
end_time: Task end time (string)
status: Task-reported status (string)
group_alias: Component group alias (string)
parent_id: Parent task id (integer)
incarn_no: Incarnation Number (integer)
label: Task Label (string)
type: Task Type (string)
ping_time: Last ping time for task (string)
The attributes that are required are:
server_name
comp_alias
id
pid
status
Depending on the type of output recovered from the srvrmgr
, not all attributes will be available except the required.
METHODS
All attributes have a getter named get_<attribute name>
.
Since all attributes are read-only there is no corresponding setter.
SEE ALSO
AUTHOR
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 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/.