NAME

App::Rgit::Policy - Base class for App::Rgit policies.

VERSION

Version 0.08

DESCRIPTION

Base class for App::Rgit policies.

This is an internal class to rgit.

METHODS

new policy => $policy

Creates a new policy object of type $policy by requiring and redispatching the method call to the module named $policy if it contains '::' or to App::Rgit::Policy::$policy otherwise. The class represented by $policy must inherit this class.

handle $cmd, $config, $repo, $status, $signal

Make the policy handle the end of execution of the App::Rgit::Command object $cmd with App::Rgit::Config configuration $config in the App::Rgit::Repository repository $repo that exited with status $status and maybe received signal $sigal.

This method must be implemented when subclassing.

SEE ALSO

rgit.

AUTHOR

Vincent Pit, <perl at profvince.com>, http://profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

Please report any bugs or feature requests to bug-rgit at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc App::Rgit::Policy

COPYRIGHT & LICENSE

Copyright 2008,2009,2010 Vincent Pit, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.