Interface OMAGServerConfigStore
-
- All Known Subinterfaces:
OMAGServerConfigStoreRetrieveAll
- All Known Implementing Classes:
OMAGServerConfigStoreConnectorBase
public interface OMAGServerConfigStoreOMAGServerConfigStore provides the interface to the configuration for an OMAG Server. This is accessed through a connector.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidremoveServerConfig()Remove the server configuration.OMAGServerConfigretrieveServerConfig()Retrieve the configuration saved from a previous run of the server.voidsaveServerConfig(OMAGServerConfig configuration)Save the server configuration.voidsetServerName(String serverName)Set up the name of the server for this configuration document.
-
-
-
Method Detail
-
setServerName
void setServerName(String serverName)
Set up the name of the server for this configuration document.- Parameters:
serverName- name of the server
-
saveServerConfig
void saveServerConfig(OMAGServerConfig configuration)
Save the server configuration.- Parameters:
configuration- configuration properties to save
-
retrieveServerConfig
OMAGServerConfig retrieveServerConfig()
Retrieve the configuration saved from a previous run of the server.- Returns:
- server configuration
-
removeServerConfig
void removeServerConfig()
Remove the server configuration.
-
-