line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package # Hide from pause |
2
|
|
|
|
|
|
|
Monitoring::Livestatus::Class::Abstract::Filter; |
3
|
|
|
|
|
|
|
|
4
|
3
|
|
|
3
|
|
6182
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use Carp; |
6
|
|
|
|
|
|
|
extends 'Monitoring::Livestatus::Class::Base::Abstract'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub build_mode { return 'Filter'; }; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1; |
12
|
|
|
|
|
|
|
__END__ |
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Monitoring::Livestatus::Class::Abstract::Filter - Class to generate livestatus |
16
|
|
|
|
|
|
|
filters |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head2 SYNOPSIS |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 METHODS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 apply |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
please view in L<Monitoring::Livestatus::Class::Base::Abstract> |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 INTERNAL METHODS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=over 4 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=item build_mode |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=back |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
See L<Monitoring::Livestatus::Class/AUTHOR> and L<Monitoring::Livestatus::Class/CONTRIBUTORS>. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Copyright 2009 Robert Bohne. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
45
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
46
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |