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

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

public class StopCmd
extends java.lang.Object

Batch command to stop a test execution, or just a subset of its blades.

Author:
Joan Chaumont, Bruno Dillenseger

Constructor Summary
StopCmd()
           
 
Method Summary
static void main(java.lang.String[] args)
          Stops a test execution, or just a subset of its blades.
static int run(java.lang.String testPlan, java.lang.String[] blades)
          Stops a test execution, or just a subset of its blades.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopCmd

public StopCmd()
Method Detail

main

public static void main(java.lang.String[] args)
Stops a test execution, or just a subset of its blades.

Parameters:
args - args[0] is the name of the running test plan, args[1] is optional, and may contain a list of blade identifiers separated by : character bladeId1:bladeId2:...bladeIdn

run

public static int run(java.lang.String testPlan,
                      java.lang.String[] blades)
Stops a test execution, or just a subset of its blades.

Parameters:
testPlan - the name of the running test plan
blades -
Returns:
array of blade identifiers designating blades that must be stopped in the given test plan, or null to stop all blades in the test plan.