Class JavaClusterConfig
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
org.apache.wicket.util.value.ValueMap
org.hippoecm.frontend.plugin.config.impl.JavaPluginConfig
org.hippoecm.frontend.plugin.config.impl.JavaClusterConfig
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
,Object> org.apache.wicket.util.io.IClusterable
,org.apache.wicket.util.value.IValueMap
,IObservable
,IClusterConfig
,IPluginConfig
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields inherited from class org.apache.wicket.util.value.ValueMap
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlugin
(IPluginConfig config) void
addProperty
(String key) void
addReference
(String key) void
addService
(String key) The plugin configurations in the cluster.Properties that specify additional plugin behavior.Descriptors of additional plugin properties.The keys for services that are used by plugins in the cluster.The list of keys for services.void
setPlugins
(List<IPluginConfig> plugins) Update the plugins in the cluster.Methods inherited from class org.hippoecm.frontend.plugin.config.impl.JavaPluginConfig
entrySet, equals, getName, getObservationContext, getPluginConfig, getPluginConfigSet, hashCode, newPluginConfig, put, putAll, setObservationContext, startObservation, stopObservation
Methods inherited from class org.apache.wicket.util.value.ValueMap
add, clear, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInstant, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInstant, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, isImmutable, makeImmutable, remove, toString
Methods inherited from class java.util.LinkedHashMap
containsValue, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, replace, replace, size
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hippoecm.frontend.model.event.IObservable
equals, hashCode, setObservationContext, startObservation, stopObservation
Methods inherited from interface org.hippoecm.frontend.plugin.config.IPluginConfig
getName, getPluginConfig, getPluginConfigSet
Methods inherited from interface org.apache.wicket.util.value.IValueMap
getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInstant, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInstant, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, isImmutable, makeImmutable
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
JavaClusterConfig
public JavaClusterConfig() -
JavaClusterConfig
-
-
Method Details
-
addPlugin
-
getPlugins
Description copied from interface:IClusterConfig
The plugin configurations in the cluster. Returns an immutable list of plugins.- Specified by:
getPlugins
in interfaceIClusterConfig
-
setPlugins
Description copied from interface:IClusterConfig
Update the plugins in the cluster. Only available when the the configuration is used as a template for the cluster configuration.- Specified by:
setPlugins
in interfaceIClusterConfig
-
addService
-
getServices
Description copied from interface:IClusterConfig
The list of keys for services. Since service types are not available, it is recommended to always use well-known keys when they exist. I.e. use "wicket.id" to identify anIRenderService
.The returned list is only mutable when the configuration is used as a template.
- Specified by:
getServices
in interfaceIClusterConfig
-
addReference
-
getReferences
Description copied from interface:IClusterConfig
The keys for services that are used by plugins in the cluster.The returned list is only mutable when the configuration is used as a template.
- Specified by:
getReferences
in interfaceIClusterConfig
-
addProperty
-
getProperties
Description copied from interface:IClusterConfig
Properties that specify additional plugin behavior.The returned list is only mutable when the configuration is used as a template.
- Specified by:
getProperties
in interfaceIClusterConfig
-
getPropertyDescriptors
Description copied from interface:IClusterConfig
Descriptors of additional plugin properties.Changes to the returned list have no effect on actual configuration.
- Specified by:
getPropertyDescriptors
in interfaceIClusterConfig
-