org.arquillian.ape.nosql.couchbase.CouchbaseOptions Maven / Gradle / Ivy
package org.arquillian.ape.nosql.couchbase;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
public class CouchbaseOptions implements Map {
static String BUCKET_PASSWORD = "BUCKET_PASSWORD";
static String CREATE_BUCKET = "CREATE_BUCKET";
static String CLUSTER_USERNAME = "CLUSTER_USERNAME";
static String CLUSTER_PASSWORD = "CLUSTER_PASSWORD";
private Map options = new HashMap<>();
private CouchbaseOptions() {
}
public static CouchbaseConfigurationOptions options() {
return new CouchbaseConfigurationOptions();
}
@Override
public int size() {
return options.size();
}
@Override
public boolean isEmpty() {
return options.isEmpty();
}
@Override
public boolean containsKey(Object key) {
return options.containsKey(key);
}
@Override
public boolean containsValue(Object value) {
return options.containsValue(value);
}
@Override
public Object get(Object key) {
return options.get(key);
}
@Override
public Object put(String key, Object value) {
return options.put(key, value);
}
@Override
public Object remove(Object key) {
return options.remove(key);
}
@Override
public void putAll(Map extends String, ?> m) {
options.putAll(m);
}
@Override
public void clear() {
options.clear();
}
@Override
public Set keySet() {
return options.keySet();
}
@Override
public Collection