mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-28 01:31:05 -06:00
allow incremental building of config model
This commit is contained in:
parent
5aa940cbb7
commit
0777048002
@ -23,6 +23,9 @@ public class ConfigModel implements NBConfigModel {
|
||||
public static ConfigModel of(Class<?> ofType, Param<?>... params) {
|
||||
return new ConfigModel(ofType, params);
|
||||
}
|
||||
public static ConfigModel of(Class<?> ofType) {
|
||||
return new ConfigModel(ofType);
|
||||
}
|
||||
|
||||
public <T> ConfigModel add(Param<T> param) {
|
||||
this.params.add(param);
|
||||
|
Loading…
Reference in New Issue
Block a user