| | 1 | = Executor = |
| | 2 | |
| | 3 | The executor is responsible for initializing the !EventBench user interfaces. This consists of the following key tasks: |
| | 4 | * Integrating all !EventBench components and plug-ins. |
| | 5 | * Starting a user interface. |
| | 6 | * Initialize logging mechanisms. |
| | 7 | |
| | 8 | The executor itself is implemented as a Java application with the following possible parameters. |
| | 9 | |
| | 10 | ||= Name =||= Allowed Values =||= Default =||= Description =|| |
| | 11 | || ui || text, swt || text || Selects the user interface || |
| | 12 | || log4j || OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL || INFO || Selects the tracing level contained in the log4j log file || |
| | 13 | || trace || OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL || WARNING || Selects the tracing level displayed by the user interface || |
| | 14 | |
| | 15 | Furthermore, all parameters that follow these options are interpreted as [wiki:Frontend/Commands commands] that are to be executed right after starting the user interface. |
| | 16 | |
| | 17 | Here are some examples for using the executor. |
| | 18 | * Start the application with all parameters assuming their default values. |
| | 19 | {{{ |
| | 20 | java -jar eventbench-runner.jar |
| | 21 | }}} |
| | 22 | * Start the application with the SWT GUI and the trace level INFO |
| | 23 | {{{ |
| | 24 | java -jar eventbench-runner.jar -ui swt -trace INFO |
| | 25 | }}} |
| | 26 | * Start the application with the SWT GUI and execute the command "exec someScript" right after the start-up. |
| | 27 | {{{ |
| | 28 | java -jar eventbench-runner.jar -ui swt "exec someScript" |
| | 29 | }}} |