ilog.rules.studio.javascript

Class IlrJsRunnerConstants

  • java.lang.Object
    • ilog.rules.studio.javascript.IlrJsRunnerConstants


  • public class IlrJsRunnerConstants
    extends java.lang.Object
    Contains the list of possible arguments to start the headless eclipse. The IlrJsRunnerPlatformRunnable is the "run" of the plug-in application and analyzes the provided arguments.
    • Field Detail

      • SCRIPT_ARG

        public static final java.lang.String SCRIPT_ARG
        Argument to provide a call to an 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.
        See Also:
        Constant Field Values
      • PROGRESS_ARG

        public static final java.lang.String PROGRESS_ARG
        Argument to provide a call to an IlrJsRunnerPlatformRunnable in headless mode. In this mode the script runner prints the progress of certain repetitive operations, like folder imports.
        See Also:
        Constant Field Values
      • NO_FILE_PATH_ERROR_CODE

        public static final 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. The value is 100.
      • INVALID_FILE_PATH_ERROR_CODE

        public static final 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. The value is 101.
      • JAVASCRIPT_ERROR_CODE

        public static final java.lang.Integer JAVASCRIPT_ERROR_CODE
        Return code for IlrJsRunnerPlatformRunnable.run(Object) method indicating that the javascript execution failed. The value is 102.
    • Constructor Detail

      • IlrJsRunnerConstants

        public IlrJsRunnerConstants()
    • Method Detail

      • usage

        public static void usage()
        Prints to the standard output the list of valid arguments to provide to an IlrJsRunnerPlatformRunnable when started in headless mode.

© Copyright IBM Corp. 1987, 2017