nb4 rc build

This commit is contained in:
Jonathan Shook 2020-12-07 01:55:11 -06:00
parent f09335755c
commit 87f895e069
3 changed files with 30 additions and 2 deletions

View File

@ -1,5 +1,7 @@
- 3d2ff55f (main) auto create apikey
- e4f325c4 (origin/main, main) disable test which is present in feature branch
- 78463838 make main brain build cleanly again
- 608d1f72 Update DOWNLOADS.md
- 3d2ff55f auto create apikey
- cfa92eab package organization
- 2ab118f4 package organization
- a23808b3 update appimage build script for j15

View File

@ -0,0 +1,7 @@
package io.nosqlbench.nb.api.labels;
import java.util.Map;
public interface Labeled {
public Map<String,String> getLabels();
}

View File

@ -0,0 +1,19 @@
package io.nosqlbench.nb.api.labels;
import java.util.HashMap;
import java.util.Map;
public class MutableLabels extends HashMap<String,String> implements Labeled {
public static MutableLabels fromMaps(Map<String,String> entries) {
MutableLabels mutableLabels = new MutableLabels();
mutableLabels.putAll(entries);
return mutableLabels;
}
@Override
public Map<String, String> getLabels() {
return this;
}
}