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

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

public class StartCmd
extends java.lang.Object

Batch command to start blades of an initialized test plan.

Author:
Joan Chaumont, Bruno Dillenseger

Constructor Summary
StartCmd()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static int run(java.lang.String testPlanName, java.lang.String[] bladeIds)
          Starts all blades of an initialized test plan, or just a subset of them if specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartCmd

public StartCmd()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - args[0] is the name of the target initialized test plan, optional args[1] is a list of identifiers of blades to be started, separated with : character bladeId1:bladeId2:...bladeId3
See Also:
run(String, String[])

run

public static int run(java.lang.String testPlanName,
                      java.lang.String[] bladeIds)
Starts all blades of an initialized test plan, or just a subset of them if specified.

Parameters:
testPlanName - the name of the target initialized test plan
bladeIds - 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)