Package org.ow2.clif.console.lib.batch
Class InitCmd
- java.lang.Object
-
- org.ow2.clif.console.lib.batch.InitCmd
-
public class InitCmd extends java.lang.ObjectBatch command to initialize all blades of a given deployed test plan.- Author:
- Joan Chaumont, Bruno Dillenseger
-
-
Constructor Summary
Constructors Constructor Description InitCmd()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)static intrun(java.lang.String testPlanName, java.lang.String testRunId)Initializes all the blades of the given deployed test plan to prepare for a new execution.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args- shall contain 2 arguments: args[0] is the name of the deployed test plan to initialize, args[1] is an arbitrary identifier string for this new test run- See Also:
run(String, String)
-
run
public static int run(java.lang.String testPlanName, java.lang.String testRunId)Initializes all the blades of the given deployed test plan to prepare for a new execution. According to the blade lifecycle, initialization may occur just after deployment or after execution termination (i.e. in aborted, completed or stopped states).- Parameters:
testPlanName- the name of the deployed test plan to initializetestRunId- an arbitrary identifier string for this new test run- Returns:
- command status code (@see BatchUtil)
-
-