Class TestSuite.Builder

  • Enclosing class:
    TestSuite

    public static final class TestSuite.Builder
    extends java.lang.Object
    Builds instances of type TestSuite.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Detail

      • setProceedOnFailure

        public void setProceedOnFailure​(boolean proceedOnFailure)
        Initializes the value for the proceedOnFailure attribute.
        Parameters:
        proceedOnFailure - The value for proceedOnFailure
      • setArtificial

        public void setArtificial​(boolean artificial)
        Initializes the value for the artificial attribute.
        Parameters:
        artificial - The value for artificial
      • setParent

        public void setParent​(StructuralElementContainer parent)
        Initializes the value for the parent attribute.
        Parameters:
        parent - The value for parent
      • setJavaClass

        public void setJavaClass​(java.lang.Class<?> javaClass)
        Initializes the value for the javaClass attribute.
        Parameters:
        javaClass - The value for javaClass
      • setTags

        public void setTags​(java.lang.Iterable<java.lang.String> elements)
        Adds elements to tags.
        Parameters:
        elements - An iterable of tags elements
      • setIssues

        public void setIssues​(java.lang.Iterable<java.lang.String> elements)
        Adds elements to issues.
        Parameters:
        elements - An iterable of issues elements
      • setTitle

        public void setTitle​(java.util.Optional<java.lang.String> title)
        Initializes the value for the title attribute.
        Parameters:
        title - The value for title
      • setTitle

        public void setTitle​(java.lang.String title)
        Initializes the default value for the title attribute.
        Parameters:
        title - The value for title
      • setDescription

        public void setDescription​(java.util.Optional<java.lang.String> description)
        Initializes the value for the description attribute.
        Parameters:
        description - The value for description
      • setDescription

        public void setDescription​(java.lang.String description)
        Initializes the default value for the description attribute.
        Parameters:
        description - The value for description
      • setName

        public void setName​(java.lang.String name)
        Initializes the value for the name attribute.
        Parameters:
        name - The value for name
      • setParallelized

        public void setParallelized​(boolean parallelized)
        Initializes the value for the parallelized attribute.
        Parameters:
        parallelized - The value for parallelized
      • setId

        public void setId​(java.lang.Integer id)
        Initializes the value for the id attribute.
        Parameters:
        id - The value for id
      • setChildren

        public void setChildren​(java.lang.Iterable<StructuralElement> elements)
        Adds elements to children.
        Parameters:
        elements - An iterable of children elements