org.ow2.clif.console.lib.batch
Class JoinCmd

java.lang.Object
  extended by org.ow2.clif.console.lib.batch.JoinCmd

public class JoinCmd
extends java.lang.Object

Batch 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
JoinCmd()
           
 
Method Summary
static void main(java.lang.String[] args)
          Blocks until all blades of a given running test, or just a subset of them, terminate.
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinCmd

public JoinCmd()
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 plan
blades - 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