public interface IScriptRun
Represents an execution of one or more IScriptFiles.

A script run can be created through the IScriptRunManager and is bound to a specific set of information, which dictates parameters that must be followed by the run. When a script run is executed, its run information is also globally available for usage by scripts and actions through the IScriptRunManager.

A run can be created but does not have to be executed immediately: it is in fact possible to create a run and then store it for later use. Note that this kind of behavior is not suggested as it might lead to weird interactions, but is nevertheless a valid use case.

It is illegal at all times to attempt to execute two script runs at the same time: such attempts will be blocked by the script run manager.

Since:
9.1.0
  • Method Details

    • specificRunInfo

      IScriptRunInfo specificRunInfo()
      Gets the IScriptRunInfo tied to this specific run.
      Returns:
      This run's information.
      Since:
      9.1.0
    • execute

      void execute() throws Throwable
      Executes the script run.
      Throws:
      Throwable - If any errors occur during execution.
      Since:
      9.1.0