Class OpenSearchConfigElement
java.lang.Object
org.springframework.extensions.config.element.ConfigElementAdapter
org.alfresco.repo.web.scripts.config.OpenSearchConfigElement
- All Implemented Interfaces:
Serializable
,org.springframework.extensions.config.ConfigElement
public class OpenSearchConfigElement
extends org.springframework.extensions.config.element.ConfigElementAdapter
Custom config element that represents the config data for open search
- Author:
- davidc
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Inner class representing the configuration of an OpenSearch enginestatic class
Inner class representing the configuration of the OpenSearch proxy -
Field Summary
FieldsFields inherited from class org.springframework.extensions.config.element.ConfigElementAdapter
attributes, children, name, value
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorConstructor -
Method Summary
Methods inherited from class org.springframework.extensions.config.element.ConfigElementAdapter
getAttribute, getAttributeCount, getAttributes, getChild, getChildCount, getChildren, getChildrenMap, getChildValue, getName, getValue, hasAttribute, hasChildren, setValue, toString
-
Field Details
-
CONFIG_ELEMENT_ID
- See Also:
-
-
Constructor Details
-
OpenSearchConfigElement
public OpenSearchConfigElement()Default constructor -
OpenSearchConfigElement
Constructor- Parameters:
name
- Name of the element this config element represents
-
-
Method Details
-
getChildren
- Specified by:
getChildren
in interfaceorg.springframework.extensions.config.ConfigElement
- Overrides:
getChildren
in classorg.springframework.extensions.config.element.ConfigElementAdapter
- See Also:
-
ConfigElement.getChildren()
-
combine
public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement) - Specified by:
combine
in interfaceorg.springframework.extensions.config.ConfigElement
- Specified by:
combine
in classorg.springframework.extensions.config.element.ConfigElementAdapter
- See Also:
-
ConfigElement.combine(ConfigElement)
-
getProxy
Gets the proxy configuration- Returns:
- The proxy configuration
-
getEngines
- Returns:
- Returns a set of the engines
-
getEngine
- Parameters:
proxy
- name of engine proxy- Returns:
- associated engine config (or null, if none registered against proxy)
-