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

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

public class SuspendCmd
extends java.lang.Object

Batch command to suspend a running test, or just a subset of its blades.

Author:
Joan Chaumont, Bruno Dillenseger

Constructor Summary
SuspendCmd()
           
 
Method Summary
static void main(java.lang.String[] args)
          Suspends a running test, or just a subset of its blades.
static int run(java.lang.String testPlan, java.lang.String[] blades)
          Suspends a running test, 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

SuspendCmd

public SuspendCmd()
Method Detail

main

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

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

run

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

Parameters:
testPlan - the name of the target test plan
blades - array of target blade identifiers, or null to suspend every blade
Returns:
execution status code