Interface MutableExecutionState
-
- All Superinterfaces:
ExecutionState
- All Known Implementing Classes:
ExecutionStateImpl
public interface MutableExecutionState extends ExecutionState
Mutable variant ofExecutionState
.setCurrentTestStep(Optional)
should not be exposed in order to avoid modifications by test code.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setCurrentTestStep(java.util.Optional<TestStep> testStep)
Sets the current test step to the current thread.-
Methods inherited from interface de.bmiag.tapir.execution.executor.ExecutionState
getCurrentTestStep
-
-
-
-
Method Detail
-
setCurrentTestStep
void setCurrentTestStep(java.util.Optional<TestStep> testStep)
Sets the current test step to the current thread. This method should never be called from test code and is intended for tapir internal usage.- Parameters:
testStep
- current TestStep- Since:
- 2.0.0
- See Also:
StepStartedStateUpdater
,StepFinishedStateUpdater
-
-