Commit a483e82f authored by R.W.Majeed's avatar R.W.Majeed

allow get via enum

parent 088b1e56
......@@ -2,9 +2,14 @@ package org.aktin;
import java.util.Set;
import org.aktin.dwh.PreferenceKey;
public interface Preferences {
String get(String key);
default String get(PreferenceKey key){
return get(key.key());
}
Set<String> keySet();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment