@Component(value="tapirExecutionState") @Scope(scopeName="thread", proxyMode=INTERFACES) public class ExecutionStateImpl extends Object implements MutableExecutionState
MutableExecutionState
which is just a container for the test step which is bound to the
current thread.Constructor and Description |
---|
ExecutionStateImpl() |
Modifier and Type | Method and Description |
---|---|
Optional<TestStep> |
getCurrentTestStep()
Returns the current test step.
|
void |
setCurrentTestStep(Optional<TestStep> currentTestStep)
Sets the current test step to the current thread.
|
@Pure public Optional<TestStep> getCurrentTestStep()
ExecutionState
getCurrentTestStep
in interface ExecutionState
public void setCurrentTestStep(Optional<TestStep> currentTestStep)
MutableExecutionState
setCurrentTestStep
in interface MutableExecutionState
currentTestStep
- current TestStepStepStartedStateUpdater
,
StepFinishedStateUpdater
Copyright © 2018–2020 b+m Informatik AG. All rights reserved.