line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Siebel::Srvrmgr::Daemon::Action::Check::Server; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
534523
|
use Moose::Role; |
|
3
|
|
|
|
|
4799
|
|
|
3
|
|
|
|
|
27
|
|
4
|
3
|
|
|
3
|
|
18533
|
use Siebel::Srvrmgr::Types; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
298
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=pod |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Siebel::Srvrmgr::Daemon::Action::Check::Server - role for classes that hold Siebel server components information |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 DESCRIPTION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
This package is a role, not a subclass of L<Siebel::Srvrmgr::Daemon::Action>. It is intended to be used by classes |
15
|
|
|
|
|
|
|
that provides information about components available in a Siebel server and which is their expected status. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head2 name |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
A string representing the name of the Siebel Server. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has name => ( |
26
|
|
|
|
|
|
|
isa => 'NotNullStr', |
27
|
|
|
|
|
|
|
is => 'rw', |
28
|
|
|
|
|
|
|
required => 1, |
29
|
|
|
|
|
|
|
reader => 'get_name' |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=pod |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head2 components |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
An array reference with instances of classes that have the L<Siebel::Srvrmgr::Daemon::Action::Check::Component> |
37
|
|
|
|
|
|
|
role applied. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
# :TODO :24/07/2013 12:41:06:: this has to be changed to a HashRef to enable searching objects by name |
42
|
|
|
|
|
|
|
has components => ( |
43
|
|
|
|
|
|
|
isa => 'ArrayRef[CheckCompsComp]', |
44
|
|
|
|
|
|
|
is => 'rw', |
45
|
|
|
|
|
|
|
required => 1, |
46
|
|
|
|
|
|
|
reader => 'get_components' |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=pod |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 METHODS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Each attribute has it's respective getter named as C<get_><attribute name>. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 SEE ALSO |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=over |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
L<Siebel::Srvrmgr::Daemon::Action::Check::Component> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=back |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 AUTHOR |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt>. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This software is copyright (c) 2012 of Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt>. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This file is part of Siebel Monitoring Tools. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Siebel Monitoring Tools is free software: you can redistribute it and/or modify |
76
|
|
|
|
|
|
|
it under the terms of the GNU General Public License as published by |
77
|
|
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or |
78
|
|
|
|
|
|
|
(at your option) any later version. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Siebel Monitoring Tools is distributed in the hope that it will be useful, |
81
|
|
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
82
|
|
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
83
|
|
|
|
|
|
|
GNU General Public License for more details. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License |
86
|
|
|
|
|
|
|
along with Siebel Monitoring Tools. If not, see L<http://www.gnu.org/licenses/>. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
1; |