public class ServerConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerConfiguration.ServerConfigurationCommand
This is a server configuration command that updates the configuration
information cached.
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseSourcePath()
Returns the server base source path.
|
static ServerConfiguration |
getCurrentConfiguration()
Returns the current server configuration.
|
String |
getServerId()
Returns the server identifier.
|
static void |
removeConfiguration(String serverId)
Removes the configuration for a given server id.
|
void |
setBaseSourcePath(String baseSourcePath)
Sets the server base source path.
|
static void |
updateConfiguration(String serverId,
String baseSourcePath)
Updates the configuration.
|
public String getServerId()
public String getBaseSourcePath()
public void setBaseSourcePath(String baseSourcePath)
baseSourcePath
- the server base source path.public static ServerConfiguration getCurrentConfiguration() throws PortalException
PortalException
public static void updateConfiguration(String serverId, String baseSourcePath) throws PortalException
serverId
- the id of server configuration.baseSourcePath
- the base source path of the server.PortalException
- if any error occurs during the process.public static void removeConfiguration(String serverId) throws PortalException
serverId
- the server id to be removed.PortalException
- if any error occurs during the process.LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.