|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.viewerproxy.webinterface.Reporting
public class Reporting
Methods for generating the batch results needed by the QA pages.
Method Summary | |
---|---|
static java.io.File |
getCrawlLogForDomainInJob(java.lang.String domain,
int jobid)
Submit a batch job to extract the part of a crawl log that is associated with the given domain and job. |
static java.io.File |
getCrawlLoglinesMatchingRegexp(int jobid,
java.lang.String regexp)
Return any crawllog lines for a given jobid matching the given regular expression. |
static java.util.List<java.lang.String> |
getFilesForJob(int jobid)
Submit a batch job to list all files for a job, and report result in a sorted list. |
static java.util.List<CDXRecord> |
getMetadataCDXRecordsForJob(long jobid)
Submit a batch job to generate cdx for all metadata files for a job, and report result in a list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<java.lang.String> getFilesForJob(int jobid)
jobid
- The job to get files for.
ArgumentNotValid
- If jobid is 0 or negative.
IOFailure
- On trouble generating the file listpublic static java.util.List<CDXRecord> getMetadataCDXRecordsForJob(long jobid)
jobid
- The job to get cdx for.
ArgumentNotValid
- If jobid is 0 or negative.
IOFailure
- On trouble generating the cdxpublic static java.io.File getCrawlLogForDomainInJob(java.lang.String domain, int jobid)
domain
- The domain to get crawl.log-lines for.jobid
- The jobid to get the crawl.log-lines for.
ArgumentNotValid
- On negative jobids, or if domain is null or the
empty string.public static java.io.File getCrawlLoglinesMatchingRegexp(int jobid, java.lang.String regexp)
jobid
- The jobidregexp
- A regular expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |