Scope
- This article is about Java scripting languages that can be used with Jobs and Monitors that make use of the JobScheduler API in order to control other jobs and job chains, e.g. start, stop.
- For the use of individual scripting languages without use of the JobScheduler API see the following articles:
Versions of Java scripting languages and JobScheduler releases
- Use of Colors
- a green background color signals a recommended scripting language.
- a yellow background color signals deprecation or restricted use.
- a red background color signals outdated or unsupported scripting languages.
No. | Syntax | Java Release | JobScheduler Release | Comments |
---|
1 | <script language="javascript"/> | - Java independent, C++ implementation of the SpiderMonkey project
| - Available for 32-bit JobScheduler Releases
- Not available for 64-bit JobScheduler Releases
| -
JS-1306
-
Getting issue details...
STATUS
- syntax for JobScheduler API is the same as for no. 2
|
2 | <script language="java:javascript"/> | - available starting from Java version 1.7
- maps to the Rhino Scripting Engine when using Java 1.7
- maps to the Nashorn Scripting Engine when using Java 1.8
| - starting from JobScheduler release 1.5
| - syntax for JobScheduler API is the same a for no. 1,
<script language="javascript"/> - for compatibility to move Javascript jobs on 32Bit JobScheduler (using spidermonkey) to a 64Bit JobScheduler with minimal changes (only script language attribute)
- uses Java Beans Layer on Rhino/Nashorn Scripting Engine
|
3 | <script language="javax.script:javascript/> | | | - maps to the Rhino Scripting Engine when using Java 1.7
- maps to the Nashorn Scripting Engine when using Java 1.8
- syntax for JobScheduler API is the same as for no. 4 and 5
|
4 | <script language="javax.script.rhino"/> | - Java 1.7
- removed with Java 1.8
| - starting from JobScheduler release 1.5
| - syntax for JobScheduler API is the same as for no. 3 and 5
|
5 | <script language="javax.script:ECMAscript"/> | | - starting from JobScheduler Release 1.5
| - maps to the Rhino Scripting Engine when using Java 1.7
- maps to the Nashorn Scripting Engine when using Java 1.8
- syntax for JobScheduler API is the same as for no. 3 and 4
|
See also