Class ReportConfiguration.Builder
java.lang.Object
de.cuioss.benchmarking.common.config.ReportConfiguration.Builder
- Enclosing class:
ReportConfiguration
Builder for ReportConfiguration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.withProjectName(String name) withResultFile(String file) withResultFormat(org.openjdk.jmh.results.format.ResultFormatType format)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withBenchmarkType
-
withThroughputBenchmarkName
-
withLatencyBenchmarkName
-
withResultsDirectory
-
withResultFile
-
withResultFormat
public ReportConfiguration.Builder withResultFormat(org.openjdk.jmh.results.format.ResultFormatType format) -
withProjectName
-
build
Builds the configuration.- Returns:
- the built configuration
- Throws:
IllegalArgumentException- if required fields are not set
-