Class DynamicContainer

    • Method Detail

      • dynamicContainer

        public static DynamicContainer dynamicContainer​(java.lang.String displayName,
                                                        java.lang.Iterable<? extends DynamicNode> dynamicNodes)
        Factory for creating a new DynamicContainer for the supplied display name and a collection of dynamic nodes.

        The collection of dynamic nodes must not contain null elements.

        Parameters:
        displayName - the display name for the dynamic container; never null or blank
        dynamicNodes - collection of dynamic nodes to execute; never null
      • dynamicContainer

        public static DynamicContainer dynamicContainer​(java.lang.String displayName,
                                                        java.util.stream.Stream<? extends DynamicNode> dynamicNodes)
        Factory for creating a new DynamicContainer for the supplied display name and a stream of dynamic nodes.

        The stream of dynamic nodes must not contain null elements.

        Parameters:
        displayName - the display name for the dynamic container; never null or blank
        dynamicNodes - stream of dynamic nodes to execute; never null
      • getChildren

        public java.util.stream.Stream<? extends DynamicNode> getChildren​()
        Get the Stream of DynamicNodes associated with this container.