Class StopCmd


  • public class StopCmd
    extends java.lang.Object
    Batch command to stop a test execution, or just a subset of its blades.
    Author:
    Joan Chaumont, Bruno Dillenseger
    • Constructor Summary

      Constructors 
      Constructor Description
      StopCmd()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Stops a test execution, or just a subset of its blades.
      static int run​(java.lang.String testPlan, java.lang.String[] blades)
      Stops a test execution, 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

      • StopCmd

        public StopCmd()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Stops a test execution, or just a subset of its blades.
        Parameters:
        args - args[0] is the name of the running test plan, args[1] is optional, and may contain a list of blade identifiers separated by : character bladeId1:bladeId2:...bladeIdn
      • run

        public static int run​(java.lang.String testPlan,
                              java.lang.String[] blades)
        Stops a test execution, or just a subset of its blades.
        Parameters:
        testPlan - the name of the running test plan
        blades -
        Returns:
        array of blade identifiers designating blades that must be stopped in the given test plan, or null to stop all blades in the test plan.