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

public class JavaClusterConfig extends JavaPluginConfig implements IClusterConfig
See Also:
  • Constructor Details

    • JavaClusterConfig

      public JavaClusterConfig()
    • JavaClusterConfig

      public JavaClusterConfig(IClusterConfig upstream)
  • Method Details

    • addPlugin

      public void addPlugin(IPluginConfig config)
    • getPlugins

      public List<IPluginConfig> getPlugins()
      Description copied from interface: IClusterConfig
      The plugin configurations in the cluster. Returns an immutable list of plugins.
      Specified by:
      getPlugins in interface IClusterConfig
    • setPlugins

      public void setPlugins(List<IPluginConfig> plugins)
      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 interface IClusterConfig
    • addService

      public void addService(String key)
    • getServices

      public List<String> 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 an IRenderService.

      The returned list is only mutable when the configuration is used as a template.

      Specified by:
      getServices in interface IClusterConfig
    • addReference

      public void addReference(String key)
    • getReferences

      public List<String> 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 interface IClusterConfig
    • addProperty

      public void addProperty(String key)
    • getProperties

      public List<String> 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 interface IClusterConfig
    • getPropertyDescriptors

      public List<PropertyDescriptor> 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 interface IClusterConfig