NAME
MyCPAN::Indexer::NullTester - Do nothing components
SYNOPSIS
Use this in backpan_indexer.pl by specifying it as the class you want to do nothing:
# in backpan_indexer.config
worker_class MyCPAN::Indexer::NullTester
DESCRIPTION
This class implements all of the methods needed by all of the component classes. The
Methods
- Queue class: get_queue( HASH_REF )
-
get_queueadds aqueuekey to HASH_REF. The value ofqueueis an empty - Worker class: get_task( HASH_REF )
-
get_taskadds achild_taskkey to HASH_REF. The value ofchild_taskis a code reference that returns 1 and does nothing else. - Storage class: get_storer( HASH_REF )
-
get_storeradds areporterkey to HASH_REF. The value ofreporteris a code reference that returns 1 and does nothing else. - Dispatcher class: get_dispatcher()
-
get_dispatcheradds a dispatcher key to HASH_REF. The value is an object that responds to the start and finish methods, but does nothing.get_dispatcheralso sets theinterface_callbackkey to a code reference that returns 1 and does nothing else. - Interface class: do_interface( HASH_REF )
-
do_interfacesimly returns 1.
SEE ALSO
MyCPAN::Indexer::Tutorial
SOURCE AVAILABILITY
This code is in Github:
git://github.com/briandfoy/mycpan-indexer.git
AUTHOR
brian d foy, <bdfoy@cpan.org>
COPYRIGHT AND LICENSE
Copyright (c) 2008, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.