public class IlrJsRunnerConstants
extends java.lang.Object
IlrJsRunnerPlatformRunnable is the "run" of the plug-in application
and analyzes the provided arguments.| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
INVALID_FILE_PATH_ERROR_CODE
Return code for
IlrJsRunnerPlatformRunnable.run(Object) method indicating
that the javascript file provided in argument is not valid. |
static java.lang.Integer |
JAVASCRIPT_ERROR_CODE
Return code for
IlrJsRunnerPlatformRunnable.run(Object) method indicating
that the javascript execution failed. |
static java.lang.Integer |
NO_FILE_PATH_ERROR_CODE
Return code for
IlrJsRunnerPlatformRunnable.run(Object) method indicating
that the javascript file provided in argument is not valid. |
static java.lang.String |
PROGRESS_ARG
Argument to provide a call to an
IlrJsRunnerPlatformRunnable in
headless mode. |
static java.lang.String |
SCRIPT_ARG
Argument to provide a call to an
IlrJsRunnerPlatformRunnable in
headless mode. |
static java.lang.String |
SILENT_ARG
Argument to provide a call to an
IlrJsRunnerPlatformRunnable in
headless mode. |
static java.lang.String |
VERBOSE_ARG
Argument to provide a call to an
IlrJsRunnerPlatformRunnable in
headless mode. |
| Constructor and Description |
|---|
IlrJsRunnerConstants() |
| Modifier and Type | Method and Description |
|---|---|
static void |
usage()
Prints to the standard output the list of valid arguments to provide to an
IlrJsRunnerPlatformRunnable when started in headless mode. |
public static final java.lang.String SCRIPT_ARG
IlrJsRunnerPlatformRunnable in
headless mode.
The argument value is "-script".
The argument provides the path to the JavaScript to execute. It must
be followed by a valid absolute file path.public static final java.lang.String VERBOSE_ARG
IlrJsRunnerPlatformRunnable in
headless mode.
The argument value is "-verbose".
In this mode the script runner prints the steps of the execution. It sets
the IlrJavascriptPlugin.trace flag to true.public static final java.lang.String SILENT_ARG
IlrJsRunnerPlatformRunnable in
headless mode.
The argument value is "-silent".
Traces, errors, and warnings are not printed out.
It sets the IlrJavascriptPlugin.trace flag to true.
This argument overrides the verbose VERBOSE_ARG and progress PROGRESS_ARG modes.public static final java.lang.String PROGRESS_ARG
IlrJsRunnerPlatformRunnable in
headless mode.
In this mode the script runner prints the progress of certain repetitive
operations, like folder imports.public static final java.lang.Integer NO_FILE_PATH_ERROR_CODE
IlrJsRunnerPlatformRunnable.run(Object) method indicating
that the javascript file provided in argument is not valid. The value is 100.public static final java.lang.Integer INVALID_FILE_PATH_ERROR_CODE
IlrJsRunnerPlatformRunnable.run(Object) method indicating
that the javascript file provided in argument is not valid. The value is 101.public static final java.lang.Integer JAVASCRIPT_ERROR_CODE
IlrJsRunnerPlatformRunnable.run(Object) method indicating
that the javascript execution failed. The value is 102.public static void usage()
IlrJsRunnerPlatformRunnable when started in headless mode.© Copyright IBM Corp. 1987, 2017