Class JavaScriptStringJob

All Implemented Interfaces:
Comparable<JavaScriptJob>, Runnable, JavaScriptJob

class JavaScriptStringJob extends JavaScriptExecutionJob
A JavaScriptJob created from a string of code.
  • Field Details

    • script_

      private final String script_
      The JavaScript code to execute.
  • Constructor Details

    • JavaScriptStringJob

      JavaScriptStringJob(int initialDelay, Integer period, String label, WebWindow window, String script)
      Creates a new JavaScript execution job, where the JavaScript code to execute is a string.
      Parameters:
      initialDelay - the initial amount of time to wait before executing this job
      period - the amount of time to wait between executions of this job (may be null)
      label - the label for the job
      window - the window to which the job belongs
      script - the JavaScript code to execute
  • Method Details