Class TestSuiteExecutionResult.Builder
- java.lang.Object
-
- de.bmiag.tapir.executiontest.expectation.execution.TestSuiteExecutionResult.Builder
-
- Enclosing class:
- TestSuiteExecutionResult
public static final class TestSuiteExecutionResult.Builder extends java.lang.Object
Builds instances of typeTestSuiteExecutionResult
.Builder
is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setComparableThrowable(ComparableThrowable comparableThrowable)
Initializes the default value for thecomparableThrowable
attribute.void
setComparableThrowable(java.util.Optional<ComparableThrowable> comparableThrowable)
Initializes the value for thecomparableThrowable
attribute.void
setExecutionState(ExecutionState executionState)
Initializes the value for theexecutionState
attribute.void
setJavaClass(java.lang.Class<?> javaClass)
Initializes the value for thejavaClass
attribute.
-
-
-
Method Detail
-
setJavaClass
public void setJavaClass(java.lang.Class<?> javaClass)
Initializes the value for thejavaClass
attribute.- Parameters:
javaClass
- The value for javaClass
-
setExecutionState
public void setExecutionState(ExecutionState executionState)
Initializes the value for theexecutionState
attribute.- Parameters:
executionState
- The value for executionState
-
setComparableThrowable
public void setComparableThrowable(java.util.Optional<ComparableThrowable> comparableThrowable)
Initializes the value for thecomparableThrowable
attribute.- Parameters:
comparableThrowable
- The value for comparableThrowable
-
setComparableThrowable
public void setComparableThrowable(ComparableThrowable comparableThrowable)
Initializes the default value for thecomparableThrowable
attribute.- Parameters:
comparableThrowable
- The value for comparableThrowable
-
-