line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package # hide from pause |
2
|
|
|
|
|
|
|
Monitoring::Livestatus::Class::Table::Timeperiods; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
6354
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
extends 'Monitoring::Livestatus::Class::Base::Table'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub build_table_name { return 'timeperiods' }; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub build_primary_keys { return [qw/name/] }; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1; |
12
|
|
|
|
|
|
|
__END__ |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Monitoring::Livestatus::Class::Table::Timeperiods - Class for timeperiods table |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 METHODS |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head2 build_table_name |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head2 build_primary_keys |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Returns the table name from these class. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 AUTHOR |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
See L<Monitoring::Livestatus::Class/AUTHOR> and L<Monitoring::Livestatus::Class/CONTRIBUTORS>. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Copyright 2009 Robert Bohne. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
35
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
36
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |