public class OpenSearchConfigElement
extends org.springframework.extensions.config.element.ConfigElementAdapter
Modifier and Type | Class and Description |
---|---|
static class |
OpenSearchConfigElement.EngineConfig
Inner class representing the configuration of an OpenSearch engine
|
static class |
OpenSearchConfigElement.ProxyConfig
Inner class representing the configuration of the OpenSearch proxy
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_ELEMENT_ID |
Constructor and Description |
---|
OpenSearchConfigElement()
Default constructor
|
OpenSearchConfigElement(java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.springframework.extensions.config.ConfigElement |
combine(org.springframework.extensions.config.ConfigElement configElement) |
java.util.List |
getChildren() |
OpenSearchConfigElement.EngineConfig |
getEngine(java.lang.String proxy) |
java.util.Set |
getEngines() |
OpenSearchConfigElement.ProxyConfig |
getProxy()
Gets the proxy configuration
|
public static final java.lang.String CONFIG_ELEMENT_ID
public OpenSearchConfigElement()
public OpenSearchConfigElement(java.lang.String name)
name
- Name of the element this config element representspublic java.util.List getChildren()
getChildren
in interface org.springframework.extensions.config.ConfigElement
getChildren
in class org.springframework.extensions.config.element.ConfigElementAdapter
org.alfresco.config.ConfigElement#getChildren()
public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
combine
in interface org.springframework.extensions.config.ConfigElement
combine
in class org.springframework.extensions.config.element.ConfigElementAdapter
org.alfresco.config.ConfigElement#combine(org.alfresco.config.ConfigElement)
public OpenSearchConfigElement.ProxyConfig getProxy()
public java.util.Set getEngines()
public OpenSearchConfigElement.EngineConfig getEngine(java.lang.String proxy)
proxy
- name of engine proxyCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.