line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Monitoring::TT::Object::Contact; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
13
|
use strict; |
|
4
|
|
|
|
|
4
|
|
|
4
|
|
|
|
|
81
|
|
4
|
4
|
|
|
4
|
|
10
|
use warnings; |
|
4
|
|
|
|
|
4
|
|
|
4
|
|
|
|
|
61
|
|
5
|
4
|
|
|
4
|
|
11
|
use utf8; |
|
4
|
|
|
|
|
3
|
|
|
4
|
|
|
|
|
12
|
|
6
|
4
|
|
|
4
|
|
63
|
use base 'Monitoring::TT::Object'; |
|
4
|
|
|
|
|
2
|
|
|
4
|
|
|
|
|
398
|
|
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; |