Class TestStep

    • Method Detail

      • getParentTestClass

        public TestClass getParentTestClass()
        Returns:
        The value of the parentTestClass attribute
      • getTitle

        public java.util.Optional<java.lang.String> getTitle()
        Description copied from interface: Documentable
        Returns the title. The title should be short like a headline.
        Specified by:
        getTitle in interface Documentable
        Returns:
        The value of the title attribute
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        Description copied from interface: Documentable
        Returns a description which is more detailed than the title.
        Specified by:
        getDescription in interface Documentable
        Returns:
        The value of the description attribute
      • getName

        public java.lang.String getName()
        Description copied from interface: NamedElement
        Returns the name.
        Specified by:
        getName in interface NamedElement
        Returns:
        The value of the name attribute
      • getJavaMethod

        public java.lang.reflect.Method getJavaMethod()
        Description copied from interface: JavaMethodBased
        The underlying java method.
        Specified by:
        getJavaMethod in interface JavaMethodBased
        Returns:
        The value of the javaMethod attribute
      • getId

        public java.lang.Integer getId()
        Description copied from interface: Identifiable
        Returns the id. The id has to be unique in an execution plan.
        Specified by:
        getId in interface Identifiable
        Returns:
        The value of the id attribute
      • equals

        @Pure
        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        @Pure
        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        @Pure
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • build

        public static TestStep build​(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestStep.Builder> init)
        Creates an immutable instance of TestStep. The values can be initialized by using the init parameter.
        Parameters:
        init - The initializer
        Returns:
        An immutable TestStep instance
        Throws:
        java.lang.IllegalStateException - if any required attributes are missing
      • copy

        public TestStep copy​(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestStep.Builder> init)
        Creates an immutable copy of this instance. Uses accessors to get values to initialize the new immutable instance. The values can be modified by using the init parameter.
        Parameters:
        init - The initializer
        Returns:
        A copied immutable TestStep instance