line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Monitoring::TT::Object::Contact; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
21
|
use strict; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
103
|
|
4
|
4
|
|
|
4
|
|
16
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
81
|
|
5
|
4
|
|
|
4
|
|
17
|
use utf8; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
14
|
|
6
|
4
|
|
|
4
|
|
87
|
use base 'Monitoring::TT::Object'; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
691
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
##################################################################### |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Monitoring::TT::Object::Contact - Object representation of a contact |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 DESCRIPTION |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
contains generic methods which can be used in templates for each contact |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=cut |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
##################################################################### |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 METHODS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 BUILD |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
return new object |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
sub BUILD { |
30
|
0
|
|
|
0
|
1
|
|
my($class, $self) = @_; |
31
|
0
|
|
|
|
|
|
bless $self, $class; |
32
|
0
|
|
|
|
|
|
return $self; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
##################################################################### |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 AUTHOR |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Sven Nierlein, 2013, |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |