Class TestSuiteExecutionResult.Builder

  • Enclosing class:
    TestSuiteExecutionResult

    public static final class TestSuiteExecutionResult.Builder
    extends java.lang.Object
    Builds instances of type TestSuiteExecutionResult.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Detail

      • setJavaClass

        public void setJavaClass​(java.lang.Class<?> javaClass)
        Initializes the value for the javaClass attribute.
        Parameters:
        javaClass - The value for javaClass
      • setExecutionState

        public void setExecutionState​(ExecutionState executionState)
        Initializes the value for the executionState attribute.
        Parameters:
        executionState - The value for executionState
      • setComparableThrowable

        public void setComparableThrowable​(java.util.Optional<ComparableThrowable> comparableThrowable)
        Initializes the value for the comparableThrowable attribute.
        Parameters:
        comparableThrowable - The value for comparableThrowable
      • setComparableThrowable

        public void setComparableThrowable​(ComparableThrowable comparableThrowable)
        Initializes the default value for the comparableThrowable attribute.
        Parameters:
        comparableThrowable - The value for comparableThrowable