public class ServerConfigElement extends ConfigElementAdapter implements ServerProperties
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_ELEMENT_ID |
attributes, children, name, value| Constructor and Description |
|---|
ServerConfigElement()
Default constructor
|
ServerConfigElement(String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ConfigElement |
combine(ConfigElement configElement) |
List<ConfigElement> |
getChildren() |
String |
getHostName() |
Integer |
getPort() |
String |
getScheme() |
void |
setHostName(String hostname) |
void |
setPort(Integer port) |
void |
setScheme(String scheme) |
getAttribute, getAttributeCount, getAttributes, getChild, getChildCount, getChildren, getChildrenMap, getChildValue, getName, getValue, hasAttribute, hasChildren, setValue, toStringpublic static final String CONFIG_ELEMENT_ID
public ServerConfigElement()
public ServerConfigElement(String name)
name - Name of the element this config element representspublic List<ConfigElement> getChildren()
getChildren in interface ConfigElementgetChildren in class ConfigElementAdapterConfigElementAdapter.getChildren()public ConfigElement combine(ConfigElement configElement)
combine in interface ConfigElementcombine in class ConfigElementAdapterConfigElementAdapter.combine(org.springframework.extensions.config.ConfigElement)public String getScheme()
getScheme in interface ServerPropertiespublic void setScheme(String scheme)
scheme - Stringpublic String getHostName()
getHostName in interface ServerPropertiespublic void setHostName(String hostname)
hostname - Stringpublic Integer getPort()
getPort in interface ServerPropertiespublic void setPort(Integer port)
port - IntegerCopyright © 2005–2016 Alfresco Software. All rights reserved.