Package org.ow2.clif.console.lib.batch
Class LaunchCmd
- java.lang.Object
-
- org.ow2.clif.console.lib.batch.LaunchCmd
-
public class LaunchCmd extends java.lang.ObjectBatch command to deploy and to run a test plan as defined in a given test plan file. The deployed test plan is given a name (registered in the Registry) for further reference with other batch commands. The CLIFRegistry must be running before using this command.- Author:
- Bruno Dillenseger
-
-
Constructor Summary
Constructors Constructor Description LaunchCmd()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)static intrun(java.lang.String deployName, java.lang.String fileName, java.lang.String testRunId)Deploys a test plan (i.e.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args- args[0] is the name for the deployed test plan, args[1] is the file name of the test plan definition to be deployed- See Also:
run(String, String, String)
-
run
public static int run(java.lang.String deployName, java.lang.String fileName, java.lang.String testRunId)Deploys a test plan (i.e. a set of blades among CLIF servers) according to the given test plan definition.- Parameters:
deployName- name for the new deployed test planfileName- file name of the test plan definition to be deployed- Returns:
- command status code (@see BatchUtil)
-
-