Class ExecutionStateImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<TestStep> getCurrentTestStep()
      Returns the current test step.
      void setCurrentTestStep​(java.util.Optional<TestStep> currentTestStep)
      Sets the current test step to the current thread.
      • Methods inherited from class java.lang.Object

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

      • ExecutionStateImpl

        public ExecutionStateImpl()
    • Method Detail

      • getCurrentTestStep

        @Pure
        public java.util.Optional<TestStep> getCurrentTestStep()
        Description copied from interface: ExecutionState
        Returns the current test step. If test classes or steps are executed in parallel the current test step of the current thread is returned.
        Specified by:
        getCurrentTestStep in interface ExecutionState
        Returns:
        the current test step, cannot be null, but the optional might be empty