Package org.ow2.clif.console.lib.batch
Class JoinCmd
- java.lang.Object
-
- org.ow2.clif.console.lib.batch.JoinCmd
-
public class JoinCmd extends java.lang.ObjectBatch command to wait until all blades of a given running test, or just a subset of them, terminate.- Author:
- Joan Chaumont, Bruno Dillenseger
-
-
Constructor Summary
Constructors Constructor Description JoinCmd()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Blocks until all blades of a given running test, or just a subset of them, terminate.static intrun(java.lang.String testPlan, java.lang.String[] blades)Blocks until all blades of a given running test, or just a subset of them, terminate.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Blocks until all blades of a given running test, or just a subset of them, terminate.- Parameters:
args- args[0] is the name of the target running test plan; args[1] is optional, giving the list of blade identifiers to wait for termination; when this argument is omitted, all blades from the given test plan are waited for termination.
-
run
public static int run(java.lang.String testPlan, java.lang.String[] blades)Blocks until all blades of a given running test, or just a subset of them, terminate.- Parameters:
testPlan- the name of the target test planblades- array of identifiers of blades to wait for termination. A null value means all blades from the given test plan are concerned.- Returns:
- execution status code
-
-