public abstract class AbstractRestHeritrixController extends Object implements IHeritrixController
Modifier and Type | Class and Description |
---|---|
static class |
AbstractRestHeritrixController.LaunchResultHandler
Implementation of a LaunchResultHandler for Heritrix3.
|
Modifier and Type | Field and Description |
---|---|
protected PrintWriter |
errorPrinter |
protected Heritrix3Files |
files
The various files used by Heritrix.
|
protected org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract |
h3handler |
protected org.netarchivesuite.heritrix3wrapper.CommandLauncher |
h3launcher |
protected org.netarchivesuite.heritrix3wrapper.Heritrix3Wrapper |
h3wrapper |
protected File |
heritrixBaseDir |
protected PrintWriter |
outputPrinter |
Constructor and Description |
---|
AbstractRestHeritrixController(Heritrix3Files files)
Create a AbstractRestHeritrixController object.
|
Modifier and Type | Method and Description |
---|---|
Heritrix3Files |
getFiles() |
protected int |
getGuiPort() |
protected String |
getHeritrixAdminName()
Get the login name for accessing the Heritrix3 GUI.
|
protected String |
getHeritrixAdminPassword()
Get the login password for accessing the Heritrix3 GUI.
|
protected Heritrix3Files |
getHeritrixFiles() |
protected String |
getHostName() |
protected String |
getJobDescription()
Return a human-readable description of the job.
|
String |
toString()
Get a string that describes the current controller in terms of job ID, harvest ID, and crawldir.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
atFinish, beginCrawlStop, cleanup, crawlIsEnded, getActiveToeCount, getCurrentProcessedKBPerSec, getHarvestInformation, getProgressStats, getQueuedUriCount, initialize, isPaused, requestCrawlStart, requestCrawlStop, stopHeritrix
protected final Heritrix3Files files
protected org.netarchivesuite.heritrix3wrapper.Heritrix3Wrapper h3wrapper
protected org.netarchivesuite.heritrix3wrapper.CommandLauncher h3launcher
protected org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract h3handler
protected PrintWriter outputPrinter
protected PrintWriter errorPrinter
protected File heritrixBaseDir
public AbstractRestHeritrixController(Heritrix3Files files)
files
- Files that are used to set up Heritrix.protected int getGuiPort()
protected Heritrix3Files getHeritrixFiles()
protected String getHostName()
protected String getHeritrixAdminName()
protected String getHeritrixAdminPassword()
public String toString()
protected String getJobDescription()
public Heritrix3Files getFiles()
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.