File Coverage

blib/lib/Siebel/Srvrmgr/Daemon/Action/Dummy.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Siebel::Srvrmgr::Daemon::Action::Dummy;
2              
3             =pod
4              
5             =head1 NAME
6              
7             Siebel::Srvrmgr::Daemon::Action::Dummy - subclass for Siebel::Srvrmgr::Daemon::Action to do nothing with the buffer content
8              
9             =head1 SYNOPSIS
10              
11             See L<Siebel::Srvrmgr::Daemon::Action> for an example.
12              
13             =head1 DESCRIPTION
14              
15             This is a subclass of L<Siebel::Srvrmgr::Daemon::Action> that will do... nothing.
16              
17             =cut
18              
19 3     3   3625 use Moose;
  3         3  
  3         18  
20 3     3   14594 use namespace::autoclean;
  3         7  
  3         21  
21              
22             extends 'Siebel::Srvrmgr::Daemon::Action';
23              
24             =head1 METHODS
25              
26             =head2 do
27              
28             Expects an array reference as buffer parameter.
29              
30             It will do nothing with the buffer content, just "discard" it.
31              
32             This functions always returns true.
33              
34             =cut
35              
36             override 'do_parsed' => sub {
37              
38             return 1;
39              
40             };
41              
42             =pod
43              
44             =head1 SEE ALSO
45              
46             L<Siebel::Srvrmgr::Daemon::Action>
47              
48             =head1 AUTHOR
49              
50             Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt>
51              
52             =head1 COPYRIGHT AND LICENSE
53              
54             This software is copyright (c) 2012 of Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt>
55              
56             This file is part of Siebel Monitoring Tools.
57              
58             Siebel Monitoring Tools is free software: you can redistribute it and/or modify
59             it under the terms of the GNU General Public License as published by
60             the Free Software Foundation, either version 3 of the License, or
61             (at your option) any later version.
62              
63             Siebel Monitoring Tools is distributed in the hope that it will be useful,
64             but WITHOUT ANY WARRANTY; without even the implied warranty of
65             MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
66             GNU General Public License for more details.
67              
68             You should have received a copy of the GNU General Public License
69             along with Siebel Monitoring Tools. If not, see <http://www.gnu.org/licenses/>.
70              
71             =cut
72              
73             __PACKAGE__->meta->make_immutable;