public abstract class JavaScriptExecutionJob extends JavaScriptJob
MemoryLeakTest
Constructor and Description |
---|
JavaScriptExecutionJob(int initialDelay,
Integer period,
String label,
WebWindow window)
Creates a new JavaScript execution job, where the JavaScript code to execute is a string.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
protected abstract void |
runJavaScript(HtmlPage page)
Run the JavaScript from the concrete class.
|
String |
toString() |
compareTo, getId, getInitialDelay, getPeriod, getTargetExecutionTime, isPeriodic, setId, setTargetExecutionTime
public JavaScriptExecutionJob(int initialDelay, Integer period, String label, WebWindow window)
initialDelay
- the initial amount of time to wait before executing this jobperiod
- the amount of time to wait between executions of this job (may be null)label
- the label for the jobwindow
- the window to which the job belongspublic void run()
public String toString()
toString
in class JavaScriptJob
Copyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.