Uses of Interface
org.htmlunit.javascript.background.JavaScriptJob
-
Packages that use JavaScriptJob Package Description org.htmlunit.javascript.background Classes relating to background JavaScript execution, which is usually triggered viasetTimeout()orsetInterval().org.htmlunit.javascript.host.worker Implementations of the Web Workers JavaScript host objects - users of HtmlUnit shouldn't need anything in this package. -
-
Uses of JavaScriptJob in org.htmlunit.javascript.background
Classes in org.htmlunit.javascript.background that implement JavaScriptJob Modifier and Type Class Description classBasicJavaScriptJobA JavaScript-triggered background job managed by aJavaScriptJobManager.(package private) classJavaScriptExecutionJobA JavaScript-triggered background job representing the execution of some JavaScript code.(package private) classJavaScriptFunctionJobAJavaScriptJobcreated from aFunctionobject.(package private) classJavaScriptStringJobAJavaScriptJobcreated from a string of code.(package private) classJavascriptXMLHttpRequestJobA helper class for XMLHttpRequest.Fields in org.htmlunit.javascript.background declared as JavaScriptJob Modifier and Type Field Description private JavaScriptJobJavaScriptJobManagerImpl. currentlyRunningJob_Fields in org.htmlunit.javascript.background with type parameters of type JavaScriptJob Modifier and Type Field Description private java.util.PriorityQueue<JavaScriptJob>JavaScriptJobManagerImpl. scheduledJobsQ_Queue of jobs that are scheduled to run.Methods in org.htmlunit.javascript.background that return JavaScriptJob Modifier and Type Method Description JavaScriptJobBackgroundJavaScriptFactory. createJavaScriptJob(int initialDelay, java.lang.Integer period, java.lang.Runnable runnable)Creates a new job.JavaScriptJobBackgroundJavaScriptFactory. createJavaScriptJob(int initialDelay, java.lang.Integer period, java.lang.String label, WebWindow window, java.lang.String script)Creates a new JavaScript execution job, where the JavaScript code to execute is a string.JavaScriptJobBackgroundJavaScriptFactory. createJavascriptXMLHttpRequestJob(org.htmlunit.corejs.javascript.ContextFactory contextFactory, org.htmlunit.corejs.javascript.ContextAction<java.lang.Object> action)Creates a new job for XMLHttpRequestProcessing.JavaScriptJobJavaScriptJobManager. getEarliestJob()Gets the earliest job for this manager.JavaScriptJobJavaScriptJobManager. getEarliestJob(JavaScriptJobManager.JavaScriptJobFilter filter)Gets the earliest job for this manager.JavaScriptJobJavaScriptJobManagerImpl. getEarliestJob()Gets the earliest job for this manager.JavaScriptJobJavaScriptJobManagerImpl. getEarliestJob(JavaScriptJobManager.JavaScriptJobFilter filter)Gets the earliest job for this manager.Methods in org.htmlunit.javascript.background with parameters of type JavaScriptJob Modifier and Type Method Description intJavaScriptJobManager. addJob(JavaScriptJob job, Page page)Adds the specified job to this job manager, assigning it an ID.intJavaScriptJobManagerImpl. addJob(JavaScriptJob job, Page page)Adds the specified job to this job manager, assigning it an ID.intBasicJavaScriptJob. compareTo(JavaScriptJob other)booleanJavaScriptJobManager.JavaScriptJobFilter. passes(JavaScriptJob job)Check if the job passes the filter.booleanJavaScriptJobManager. runSingleJob(JavaScriptJob job)Runs the provided job if it is the right time for it.booleanJavaScriptJobManagerImpl. runSingleJob(JavaScriptJob givenJob)Runs the provided job if it is the right time for it. -
Uses of JavaScriptJob in org.htmlunit.javascript.host.worker
Classes in org.htmlunit.javascript.host.worker that implement JavaScriptJob Modifier and Type Class Description (package private) classWorkerJob
-