public class ScriptingConsole extends Object
Constructor and Description |
---|
ScriptingConsole(CrawlJob job) |
Modifier and Type | Method and Description |
---|---|
protected void |
addGlobalVariable(String name,
String desc) |
void |
bind(String name,
Object obj) |
void |
execute(ScriptEngine eng,
String script) |
List<Map<String,String>> |
getAvailableGlobalVariables() |
CrawlJob |
getCrawlJob() |
Throwable |
getException() |
String |
getHtmlOutput() |
int |
getLinesExecuted() |
String |
getRawOutput() |
String |
getScript() |
Object |
unbind(String name) |
public ScriptingConsole(CrawlJob job)
public void execute(ScriptEngine eng, String script)
public CrawlJob getCrawlJob()
public Throwable getException()
public int getLinesExecuted()
public String getRawOutput()
public String getHtmlOutput()
public String getScript()
Copyright © 2003-2014 Internet Archive. All Rights Reserved.