Youri::Media - Abstract media class
This abstract class defines Youri::Media interface.
Creates and returns a new Youri::Media object.
Generic parameters:
Media id.
Media name.
Media type.
Test mode (default: false).
Verbose mode (default: false).
list of ids of medias allowed to provide dependencies.
list of ids of input plugins to skip.
list of arches to skip.
Subclass may define additional parameters.
Warning: do not call directly, call subclass constructor instead.
Returns media identity.
Returns the name of this media.
Returns the type of this media.
Returns the list of id of medias allowed to provide dependencies for this media.
Tells wether media with given id is allowed to provide dependencies for this media.
Returns the list medias where the source packages can be
Tells wether media with given id is allowed to host sources dependencies for this media.
Returns the list of arch which are to be skipped for this media.
Tells wether given arch is to be skipped for this media.
Returns the list of id of input which are to be skipped for this media.
Tells wether input with given id is to be skipped for this media.
Return package class for this media.
Apply given function to all files of this media.
Apply given function to all headers of this media.
The following methods have to be implemented:
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.