Package org.ow2.clif.console.lib.batch
Class ChangeParameterCmd
- java.lang.Object
-
- org.ow2.clif.console.lib.batch.ChangeParameterCmd
-
public class ChangeParameterCmd extends java.lang.ObjectCommand to change a parameter of a deployed and possibly running blade.- Author:
- Joan Chaumont, Bruno Dillenseger
-
-
Constructor Summary
Constructors Constructor Description ChangeParameterCmd()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Changes the value of a blade parameter.static intrun(java.lang.String testplan, java.lang.String bladeId, java.lang.String name, java.lang.String value)Changes the value of a blade parameter.
-
-
-
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 planbladeId- identifier fo the target blade in the given test planname- name of the parameter whose value is to be changedvalue- new value for the given parameter- Returns:
- execution status code
-
-