Class TestElementContainer<T extends TestElementContainer<T,​C>,​C extends DslTestElement>

    • Constructor Detail

      • TestElementContainer

        protected TestElementContainer​(String name,
                                       Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass,
                                       List<C> children)
    • Method Detail

      • children

        protected T children​(C... children)
      • buildTreeUnder

        public org.apache.jorphan.collections.HashTree buildTreeUnder​(org.apache.jorphan.collections.HashTree parent,
                                                                      BuildTreeContext context)
        Description copied from interface: DslTestElement
        Builds the JMeter HashTree for this TestElement under the provided tree node.
        Specified by:
        buildTreeUnder in interface DslTestElement
        Overrides:
        buildTreeUnder in class BaseTestElement
        Parameters:
        parent - the node which will be the parent for the created tree.
        context - context information which contains information shared by elements while building the test plan tree (eg: adding additional items to test plan when a particular protocol element is added).
        Returns:
        The tree created under the parent node.