Interface ExecutionResult
-
- All Known Implementing Classes:
ExecutionPlanExecutionResult
,TestClassExecutionResult
,TestStepExecutionResult
,TestSuiteExecutionResult
public interface ExecutionResult
AnExecutionResult
is the result of any type of execution in tapir. AnExecutionResult
is provided for skipped executions as well.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ComparableThrowable>
getComparableThrowable()
Returns the throwable, if there is any.ExecutionState
getExecutionState()
Returns the execution state.
-
-
-
Method Detail
-
getExecutionState
ExecutionState getExecutionState()
Returns the execution state.- Returns:
- the execution state
- Since:
- 2.0.0
-
getComparableThrowable
java.util.Optional<ComparableThrowable> getComparableThrowable()
Returns the throwable, if there is any. Only set in conjunction withExecutionState.FAILED
.- Returns:
- the optional throwable, cannot be null
- Since:
- 2.0.0
-
-