Class 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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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