<<

NAME

Youri::Upload::Check - Abstract check plugin

DESCRIPTION

This abstract class defines check plugin interface.

CLASS METHODS

new(%args)

Creates and returns a new Youri::Upload::Check object.

No generic parameters (subclasses may define additional ones).

Warning: do not call directly, call subclass constructor instead.

INSTANCE METHODS

get_id()

Returns plugin identity.

run($package, $repository, $target, $define)

Check given Youri::Package object, and returns success as a boolean.

get_error()

Returns exact error message if check failed.

SUBCLASSING

The following methods have to be implemented:

run

COPYRIGHT AND LICENSE

Copyright (C) 2002-2006, YOURI project

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

<<