Package com.google.caliper.core
Class BenchmarkClassModel.Builder
- java.lang.Object
-
- com.google.caliper.core.BenchmarkClassModel.Builder
-
- Enclosing class:
- BenchmarkClassModel
public abstract static class BenchmarkClassModel.Builder extends Object
Builder forBenchmarkClassModelinstances.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract BenchmarkClassModelbuild()Returns a newBenchmarkClassModelwith all the previously set values.abstract com.google.common.collect.ImmutableMap.Builder<String,com.google.common.collect.ImmutableSet<String>>parametersBuilder()Returns a builder for adding to the map of parameters for the class.abstract BenchmarkClassModel.BuildersetVmOptions(Iterable<String> vmOptions)Sets the VM options to use for benchmarking the class.abstract com.google.common.collect.ImmutableSet.Builder<String>vmOptionsBuilder()Returns a builder for adding to the set of VM options for the class.
-
-
-
Method Detail
-
parametersBuilder
public abstract com.google.common.collect.ImmutableMap.Builder<String,com.google.common.collect.ImmutableSet<String>> parametersBuilder()
Returns a builder for adding to the map of parameters for the class.
-
setVmOptions
public abstract BenchmarkClassModel.Builder setVmOptions(Iterable<String> vmOptions)
Sets the VM options to use for benchmarking the class.
-
vmOptionsBuilder
public abstract com.google.common.collect.ImmutableSet.Builder<String> vmOptionsBuilder()
Returns a builder for adding to the set of VM options for the class.
-
build
public abstract BenchmarkClassModel build()
Returns a newBenchmarkClassModelwith all the previously set values.
-
-