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,
        run_mode       => 'Interactive',
        start          => '2013-04-22 15:32:28',
        end            => '2000-00-00 00:00:00',
        status         => 'Running',
        cg_alias       => 'SystemAux',
        parent_id      => 0,
        incarn_num     => 0,
        label          => '',
        type           => 'Normal',
        last_ping_time => ''
    }
)

DESCRIPTION

An object that represents each task from a list tasks command output from srvrmgr program.

ATTRIBUTES

All attributes are required unless documented that is not.

server_name

Name of the Siebel server where the task information was recovered.

comp_alias

The component alias corresponding to the task.

id

The task id.

pid

The corresponding process identifier from the running OS of the task (in fact, the PID from the related component process).

run_mode

Task run mode.

start

Task start time.

end

Task end time.

status

Task-reported status.

cg_alias

Component group alias.

parent_id

Parent task id. Not required.

incarn_num

Incarnation Number.

label

Task Label. Not required.

type

Task Type.

last_ping_time

Last ping time for task. Not 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/>.