|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.utils.SettingsFactory<HarvestReport> dk.netarkivet.harvester.harvesting.report.HarvestReportFactory
public class HarvestReportFactory
Factory class for instanciating a specific implementation
of HarvestReport
. The implementation class is defined
by the setting HarvesterSettings.HARVEST_REPORT_CLASS
Constructor Summary | |
---|---|
HarvestReportFactory()
|
Method Summary | |
---|---|
static HarvestReport |
generateHarvestReport(java.lang.Object... args)
Returns an instance of the default HarvestReport
implementation defined by the setting
HarvesterSettings.HARVEST_REPORT_CLASS . |
Methods inherited from class dk.netarkivet.common.utils.SettingsFactory |
---|
getInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HarvestReportFactory()
Method Detail |
---|
public static HarvestReport generateHarvestReport(java.lang.Object... args) throws ArgumentNotValid, IOFailure
HarvestReport
implementation defined by the setting
HarvesterSettings.HARVEST_REPORT_CLASS
.
This class must have a constructor or factory method with a
signature matching the array args.
args
- the arguments to the constructor or factory method
HarvestReport
instance.
ArgumentNotValid
- if the instance cannot be constructed.
IOFailure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |