public class BenchmarkConfiguration extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String metric,
ConfigEntry config) |
boolean |
change(String metric,
ConfigEntry config) |
BenchmarkConfiguration |
copy() |
boolean |
delete(String metric) |
ConfigEntry |
get(String metric) |
static BenchmarkConfiguration |
getConfig(String path) |
String |
getConfigAsJson() |
Set<Map.Entry<String,ConfigEntry>> |
getEntrys() |
int |
getSize() |
public static BenchmarkConfiguration getConfig(String path)
public boolean add(String metric, ConfigEntry config)
public ConfigEntry get(String metric)
public boolean change(String metric, ConfigEntry config)
public boolean delete(String metric)
public int getSize()
public String getConfigAsJson()
public Set<Map.Entry<String,ConfigEntry>> getEntrys()
public BenchmarkConfiguration copy()
Copyright © 2016–2019. All rights reserved.