Class CollectCmd


  • public class CollectCmd
    extends java.lang.Object
    Batch command to collect results of a test plan. The test plan must be running or terminated (i.e. stopped, completed or aborted state). If the test plan is running, then collection will wait for its termination before occuring (in conformance with the blade lifecycle definition).
    Author:
    Joan Chaumont, Bruno Dillenseger
    • Constructor Summary

      Constructors 
      Constructor Description
      CollectCmd()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      static int run​(java.lang.String testPlanName, java.lang.String[] bladeIds)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CollectCmd

        public CollectCmd()
    • Method Detail

      • main

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

        public static int run​(java.lang.String testPlanName,
                              java.lang.String[] bladeIds)
        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)