~ubuntu-branches/ubuntu/saucy/libmonitoring-livestatus-class-perl/saucy

« back to all changes in this revision

Viewing changes to lib/Monitoring/Livestatus/Class/Table/Servicegroups.pm

  • Committer: Package Import Robot
  • Author(s): Alexander Wirt
  • Date: 2012-09-23 12:52:44 UTC
  • Revision ID: package-import@ubuntu.com-20120923125244-tj2b60nma3530edj
Tags: upstream-0.3
ImportĀ upstreamĀ versionĀ 0.3

Show diffs side-by-side

added added

removed removed

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