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 Objectget(String key)Map<String,Object>getEntries()Set<String>getKeys()booleanisDirty()static ObjectloadObject(com.fasterxml.jackson.databind.JsonNode o)IntegermarkAsClean()Mark the object as clean every time it is serialized.voidput(String key, Object value)voidsetEntries(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)
-
-