Ignore:
Timestamp:
05/29/12 10:25:51 (12 years ago)
Author:
nanardon
Message:
  • complete POD

This patch a basic documentation to all functions.
It also add two test to ensure all POD syntax are correct and coverage is full.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/SyncManager.pm

    r1017 r1023  
    55use LATMOS::Accounts::Log; 
    66use LATMOS::Accounts; 
     7 
     8=head1 NAME 
     9 
     10LATMOS::Accounts::SyncManager - Routine task manager 
     11 
     12=head1 DESCRIPTION 
     13 
     14Handle Task process run by L<la-sync-manager> 
     15 
     16=head1 FUNCTIONS 
     17 
     18=cut 
     19 
     20=head2 new($config) 
     21 
     22Instaciate object.  
     23 
     24C<$config> is a path to an alternative configuration file to default one. 
     25 
     26=cut 
    727 
    828sub new { 
     
    2444} 
    2545 
     46=head2 ini 
     47 
     48Return a reference to the L<Ini::Files> object handling configuration. 
     49 
     50=cut 
     51 
    2652sub ini { $_[0]->{ini} } 
    2753 
     54=head2 dbrev 
     55 
     56Return the current base revision 
     57 
     58=cut 
     59 
    2860sub dbrev { $_[0]->{lastrev} } 
     61 
     62=head2 updrev 
     63 
     64Update status file with with current base revision as restart point 
     65 
     66=cut 
    2967 
    3068sub updrev { 
     
    3775} 
    3876 
     77=head2 list_modules 
     78 
     79List configured task module 
     80 
     81=cut 
     82 
    3983sub list_modules { 
    4084    my ($self) = @_; 
    4185    $self->ini->Sections; 
    4286} 
     87 
     88=head2 process_module($module, $dbrev) 
     89 
     90Process C<$module>. 
     91 
     92=cut 
     93 
     94# TODO what is $dbrev, why is it need here ?? 
    4395 
    4496sub process_module { 
     
    90142 
    911431; 
     144 
     145__END__ 
     146 
     147=head1 SEE ALSO 
     148 
     149L<LATMOS::Accountsi::Task> 
     150 
     151=head1 AUTHOR 
     152 
     153Olivier Thauvin, E<lt>olivier.thauvin@latmos.ipsl.frE<gt> 
     154 
     155=head1 COPYRIGHT AND LICENSE 
     156 
     157Copyright (C) 2012 CNRS SA/CETP/LATMOS 
     158 
     159This library is free software; you can redistribute it and/or modify 
     160it under the same terms as Perl itself, either Perl version 5.10.0 or, 
     161at your option, any later version of Perl 5 you may have available. 
     162 
     163=cut 
Note: See TracChangeset for help on using the changeset viewer.