public final class ResourcePreferences extends AbstractObjectPreferences
Modifier and Type | Class and Description |
---|---|
static class |
ResourcePreferences.Initializer
Used to aid in default resource preferences initialization.
|
static class |
ResourcePreferences.Keys |
AbstractPreferences.Scope
Modifier and Type | Method and Description |
---|---|
static ResourcePreferences |
getDefault()
Gets default scoped core preferences.
|
java.util.Map<java.lang.String,Options> |
getResourceConfigurationData()
Gets resource configuration data.
|
java.util.Set<ResourcePersistenceData> |
getResourcePersistenceData()
Gets resource persistence data.
|
static ResourcePreferences |
getShared()
Gets configuration scoped core preferences.
|
void |
setResourceConfigurationData(java.util.Map<java.lang.String,Options> data)
Sets resource configuration data.
|
void |
setResourcePersistenceData(java.util.Set<ResourcePersistenceData> data)
Sets resource persistence data.
|
getObject, putObject, toString, toStringHelper
clear, flush, node, scope, synchronize, toString
public static ResourcePreferences getDefault()
public static ResourcePreferences getShared()
public void setResourcePersistenceData(java.util.Set<ResourcePersistenceData> data)
data
- resource persistence datajava.lang.ClassCastException
- if data
contain invalid typesjava.lang.NullPointerException
- if data
contain null
referencespublic void setResourceConfigurationData(java.util.Map<java.lang.String,Options> data)
data
- resource configuration datajava.lang.ClassCastException
- if data
contain invalid typesjava.lang.NullPointerException
- if data
contain null
referencespublic java.util.Set<ResourcePersistenceData> getResourcePersistenceData()
java.lang.ClassCastException
- if data contain invalid typesjava.lang.IllegalStateException
- if data contain null
referencespublic java.util.Map<java.lang.String,Options> getResourceConfigurationData()
java.lang.ClassCastException
- if data contain invalid typesjava.lang.IllegalStateException
- if data contain null
references