Package com.atlassian.bamboo.build.test
Class TestCollectionResultBuilder
- java.lang.Object
-
- com.atlassian.bamboo.build.test.TestCollectionResultBuilder
-
@PublicApi public final class TestCollectionResultBuilder extends Object
Builder for creatingTestCollectionResult
s- Since:
- 3.2
-
-
Constructor Summary
Constructors Constructor Description TestCollectionResultBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestCollectionResultBuilder
addFailedTestResults(Collection<TestResults> failedTestResults)
Append failed test resultsTestCollectionResultBuilder
addSkippedTestResults(Collection<TestResults> skippedTestResults)
Append skipped test resultsTestCollectionResultBuilder
addSuccessfulTestResults(Collection<TestResults> successfulTestResults)
Append successful test resultsTestCollectionResult
build()
-
-
-
Method Detail
-
addSuccessfulTestResults
public TestCollectionResultBuilder addSuccessfulTestResults(Collection<TestResults> successfulTestResults)
Append successful test results- Parameters:
successfulTestResults
- to append- Returns:
- builder
-
addFailedTestResults
public TestCollectionResultBuilder addFailedTestResults(Collection<TestResults> failedTestResults)
Append failed test results- Parameters:
failedTestResults
- to append- Returns:
- builder
-
addSkippedTestResults
public TestCollectionResultBuilder addSkippedTestResults(Collection<TestResults> skippedTestResults)
Append skipped test results- Parameters:
skippedTestResults
- to append- Returns:
- builder
-
build
public TestCollectionResult build()
-
-