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

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

public class ChangeParameterCmd
extends java.lang.Object

Command to change a parameter of a deployed and possibly running blade.

Author:
Joan Chaumont, Bruno Dillenseger

Constructor Summary
ChangeParameterCmd()
           
 
Method Summary
static void main(java.lang.String[] args)
          Changes the value of a blade parameter.
static int run(java.lang.String testplan, java.lang.String bladeId, java.lang.String name, java.lang.String value)
          Changes the value of a blade parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeParameterCmd

public ChangeParameterCmd()
Method Detail

main

public static void main(java.lang.String[] args)
Changes the value of a blade parameter.

Parameters:
args - args[0] is the name of the target deployed test plan, args[1] is the identifier of the target blade args[2] is the name of the paramter to be set args[3] is the new value of the parameter

run

public static int run(java.lang.String testplan,
                      java.lang.String bladeId,
                      java.lang.String name,
                      java.lang.String value)
Changes the value of a blade parameter.

Parameters:
testplan - name of target deployed test plan
bladeId - identifier fo the target blade in the given test plan
name - name of the parameter whose value is to be changed
value - new value for the given parameter
Returns:
execution status code