public class JavaPluginConfig extends org.apache.wicket.util.value.ValueMap implements IPluginConfig
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JavaPluginConfig() |
JavaPluginConfig(IPluginConfig parentConfig) |
JavaPluginConfig(String name) |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,Object>> |
entrySet() |
boolean |
equals(Object o)
Equivalence of observables; observation will only be started on one instance.
|
String |
getName()
The name of the configuration.
|
protected IObservationContext<? extends IPluginConfig> |
getObservationContext() |
IPluginConfig |
getPluginConfig(Object key)
Retrieve a child config of a particular name.
|
Set<IPluginConfig> |
getPluginConfigSet()
Retrieve a set of child plugin configurations.
|
int |
hashCode() |
protected IPluginConfig |
newPluginConfig(IPluginConfig source) |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> map) |
void |
setObservationContext(IObservationContext<? extends IObservable> context)
Before observation is started on the observable, an observation context is injected by
the observer registry.
|
void |
startObservation()
When the first
IObserver of this observable is registered with the observer
registry, observation is started. |
void |
stopObservation()
When the last
IObserver unregisters, observation is stopped. |
add, clear, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getAsTime, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, getTime, isImmutable, makeImmutable, remove, toString
containsValue, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getAsTime, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, getTime, isImmutable, makeImmutable
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, get, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public JavaPluginConfig()
public JavaPluginConfig(String name)
public JavaPluginConfig(IPluginConfig parentConfig)
protected IPluginConfig newPluginConfig(IPluginConfig source)
public String getName()
IPluginConfig
getName
in interface IPluginConfig
public Set<IPluginConfig> getPluginConfigSet()
IPluginConfig
getPluginConfigSet
in interface IPluginConfig
public IPluginConfig getPluginConfig(Object key)
IPluginConfig
getPluginConfig
in interface IPluginConfig
public final boolean equals(Object o)
IObservable
equals
in interface Map<String,Object>
equals
in interface IObservable
equals
in class AbstractMap<String,Object>
public int hashCode()
hashCode
in interface Map<String,Object>
hashCode
in interface IObservable
hashCode
in class AbstractMap<String,Object>
IObservable.equals(Object)
public void setObservationContext(IObservationContext<? extends IObservable> context)
IObservable
setObservationContext
in interface IObservable
protected IObservationContext<? extends IPluginConfig> getObservationContext()
public void startObservation()
IObservable
IObserver
of this observable is registered with the observer
registry, observation is started. Implementations must notify observers until observation
is stopped.
An implementation should register listeners with external data sources, when appropriate. It is possible for an observable to register as an observer for another observable.
startObservation
in interface IObservable
public void stopObservation()
IObservable
IObserver
unregisters, observation is stopped. Any listeners
or observers registered by the observable must be unregistered by the implementation.stopObservation
in interface IObservable
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.