public final class ElasticsearchPreferences extends AbstractPreferences implements ElasticsearchOptions, PreferenceStoreOptions, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ElasticsearchPreferences.Initializer |
AbstractPreferences.Keys, AbstractPreferences.Scope
ElasticsearchOptions.Schema, ElasticsearchOptions.View
Modifier and Type | Method and Description |
---|---|
void |
fromMap(java.util.Map<java.lang.String,java.lang.Object> map)
Throws
UnsupportedOperationException . |
java.lang.Object |
get(java.lang.String key)
Returns preference value for specified key.
|
static ElasticsearchPreferences |
getDefault()
Gets default scoped core preferences.
|
org.eclipse.ui.preferences.ScopedPreferenceStore |
getPreferenceStore()
Returns the backing scoped preference store.
|
static ElasticsearchPreferences |
getShared()
Gets configuration scoped core preferences.
|
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Throws
UnsupportedOperationException . |
java.util.Map<java.lang.String,java.lang.Object> |
toMap()
Returns a read only snapshot of preferences.
|
org.elasticsearch.common.settings.Settings |
toSettings() |
java.lang.String |
toString() |
clear, flush, node, scope, synchronize, toStringHelper
public static ElasticsearchPreferences getDefault()
public static ElasticsearchPreferences getShared()
public void fromMap(java.util.Map<java.lang.String,java.lang.Object> map)
UnsupportedOperationException
.public java.util.Map<java.lang.String,java.lang.Object> toMap()
public org.elasticsearch.common.settings.Settings toSettings()
toSettings
in interface ElasticsearchOptions
public java.lang.String toString()
toString
in class AbstractPreferences
public java.lang.Object put(java.lang.String key, java.lang.Object value)
UnsupportedOperationException
.public java.lang.Object get(java.lang.String key)
public org.eclipse.ui.preferences.ScopedPreferenceStore getPreferenceStore()
getPreferenceStore
in interface PreferenceStoreOptions