Package org.openrefine.preference
Class PreferenceStore
- java.lang.Object
-
- org.openrefine.preference.PreferenceStore
-
public class PreferenceStore extends Object
-
-
Constructor Summary
Constructors Constructor Description PreferenceStore()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String key)
Map<String,Object>
getEntries()
Set<String>
getKeys()
boolean
isDirty()
static Object
loadObject(com.fasterxml.jackson.databind.JsonNode o)
Integer
markAsClean()
Mark the object as clean every time it is serialized.void
put(String key, Object value)
void
setEntries(com.fasterxml.jackson.databind.JsonNode entries)
-
-
-
Field Detail
-
USER_METADATA_KEY
public static final String USER_METADATA_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
isDirty
public boolean isDirty()
- Returns:
- true if the preference store has unsaved changes
-
markAsClean
public Integer markAsClean()
Mark the object as clean every time it is serialized. This behaviour is not very clean - it is inherited from the previous deserialization code.
-
setEntries
public void setEntries(com.fasterxml.jackson.databind.JsonNode entries)
-
loadObject
public static Object loadObject(com.fasterxml.jackson.databind.JsonNode o)
-
-