|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sodius.mdw.core.eval.launch.LaunchRunner
public final class LaunchRunner
A runnable class (with a main method) to launch an evaluation of a launch configuration.
The main method performs the following steps :
MDWorkbench instance.Here is a command line snippet :
java -classpath "<...>" com.sodius.mdw.core.eval.launch.LaunchRunner -launch "c:\myProjects\myLaunchFilename.launch"
You can override the evaluation directory to use:
java -classpath "<...>" com.sodius.mdw.core.eval.launch.LaunchRunner -launch "c:\myProjects\myLaunchFilename.launch"
-evaluationDirectory c:\test\generated
You can also override launch arguments, using a -args[index] value notation:
index is the index of the launch argument to overridevalue is the new value to set for the overriden argument.
For a model connector, the value must of the form connectorName|uri.java -classpath "<...>" com.sodius.mdw.core.eval.launch.LaunchRunner -launch "c:\myProjects\myLaunchFilename.launch"
-args[0] "XMI|c:\models\myModel.xmi" -args[2] "Hello World" -args[3] true
This class cannot be instantiated or subclassed by clients. It is just intended to run in command line mode.
| Field Summary | |
|---|---|
static String |
ARG_APPLICATION_ID
The argument name which references the application ID to use. |
static String |
ARG_EVALUATION_DIRECTORY
The argument name which references the directory where to generate files (overrides the one specified in the launch configuration). |
static String |
ARG_LAUNCH
The argument name which references the file path which contains a launch configuration. |
static String |
ARG_LAUNCH_ARG_PREFIX
The prefix of the argument name to override a launch parameter. |
static String |
ARG_LAUNCH_ARG_SUFFIX
The suffix of the argument name to override a launch parameter. |
static char |
ARG_LAUNCH_MODEL_SEPARATOR
The character to separate the model reader from the uri ( "XMI|c:\models\file.xmi" for example). |
| Method Summary | |
|---|---|
static void |
main(String[] args)
Launches an evaluation of a launch configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ARG_APPLICATION_ID
MDWorkbenchFactory.create(String),
Constant Field Valuespublic static final String ARG_LAUNCH
public static final String ARG_EVALUATION_DIRECTORY
public static final String ARG_LAUNCH_ARG_PREFIX
public static final String ARG_LAUNCH_ARG_SUFFIX
public static final char ARG_LAUNCH_MODEL_SEPARATOR
"XMI|c:\models\file.xmi" for example).
| Method Detail |
|---|
public static void main(String[] args)
This method performs the following steps :
MDWorkbench instance.Here is a command line snippet :
java -classpath "<...>" com.sodius.mdw.core.eval.launch.LaunchRunner -launch "c:\myProjects\myLaunchFilename.launch"
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||