Package org.ow2.clif.console.lib.batch
Class CollectCmd
- java.lang.Object
-
- org.ow2.clif.console.lib.batch.CollectCmd
-
public class CollectCmd extends java.lang.ObjectBatch command to collect results of a test plan. The test plan must be running or terminated (i.e. stopped, completed or aborted state). If the test plan is running, then collection will wait for its termination before occuring (in conformance with the blade lifecycle definition).- Author:
- Joan Chaumont, Bruno Dillenseger
-
-
Constructor Summary
Constructors Constructor Description CollectCmd()
-
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[] bladeIds)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args- args[0] is the name of the target test plan, optional args[1] is a list of identifiers of blades to be collected, separated with : character (bladeId1:bladeId2:...bladeId3).- See Also:
run(String, String[])
-
run
public static int run(java.lang.String testPlanName, java.lang.String[] bladeIds)- Parameters:
testPlanName- the name of the target initialized test planbladeIds- array of blade identifiers that must be started in the given test plan. If null, all blades are started.- Returns:
- command status code (@see BatchUtil)
-
-