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 with the data recovered. Useful only if you want to run
16             integrated tests with a live server and check if the connection to command execution are OK.
17              
18             =cut
19              
20 3     3   1734 use Moose 2.0401;
  3         61  
  3         24  
21 3     3   26079 use namespace::autoclean 0.13;
  3         74  
  3         28  
22              
23             extends 'Siebel::Srvrmgr::Daemon::Action';
24             our $VERSION = '0.29'; # VERSION
25              
26             =head1 METHODS
27              
28             =head2 do
29              
30             Expects an array reference as buffer parameter.
31              
32             It will do nothing with the buffer content, just "discard" it.
33              
34             This functions always returns true.
35              
36             =cut
37              
38             override 'do_parsed' => sub {
39             return 1;
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;