Class TestStep.Builder

  • Enclosing class:
    TestStep

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

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

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setDescription​(java.lang.String description)
      Initializes the default value for the description attribute.
      void setDescription​(java.util.Optional<java.lang.String> description)
      Initializes the value for the description attribute.
      void setId​(java.lang.Integer id)
      Initializes the value for the id attribute.
      void setJavaMethod​(java.lang.reflect.Method javaMethod)
      Initializes the value for the javaMethod attribute.
      void setName​(java.lang.String name)
      Initializes the value for the name attribute.
      void setParameters​(java.lang.Iterable<TestParameter> elements)
      Adds elements to parameters.
      void setParentTestClass​(TestClass parentTestClass)
      Initializes the value for the parentTestClass attribute.
      void setTitle​(java.lang.String title)
      Initializes the default value for the title attribute.
      void setTitle​(java.util.Optional<java.lang.String> title)
      Initializes the value for the title attribute.
      • Methods inherited from class java.lang.Object

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

      • setParentTestClass

        public void setParentTestClass​(TestClass parentTestClass)
        Initializes the value for the parentTestClass attribute.
        Parameters:
        parentTestClass - The value for parentTestClass
      • setParameters

        public void setParameters​(java.lang.Iterable<TestParameter> elements)
        Adds elements to parameters.
        Parameters:
        elements - An iterable of parameters 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
      • setJavaMethod

        public void setJavaMethod​(java.lang.reflect.Method javaMethod)
        Initializes the value for the javaMethod attribute.
        Parameters:
        javaMethod - The value for javaMethod
      • setId

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