public interface RemoteLoggingConfigDAO
| Modifier and Type | Method and Description |
|---|---|
Optional<RemoteServerLoggerData> |
getRemoteServerConfig(LoggingConstants.LogType type)
This method is used to get the remote server configuration from the storage.
|
void |
resetRemoteServerConfig(LoggingConstants.LogType type)
This method is used to reset the remote server configurations to the defaults in the storage.
|
void |
saveRemoteServerConfig(RemoteServerLoggerData data,
LoggingConstants.LogType type)
This method is used to add a remote server configuration from the storage.
|
void saveRemoteServerConfig(RemoteServerLoggerData data, LoggingConstants.LogType type) throws RemoteLoggingServerException
data - RemoteServerLoggerData object that contains the remote server configuration.type - The log type of the remote server configuration.org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the remote server configuration.RemoteLoggingServerExceptionOptional<RemoteServerLoggerData> getRemoteServerConfig(LoggingConstants.LogType type) throws RemoteLoggingServerException
type - The log type of the remote server configuration.org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the remote server configuration.RemoteLoggingServerExceptionvoid resetRemoteServerConfig(LoggingConstants.LogType type) throws RemoteLoggingServerException
type - The log type of the remote server configuration.org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the remote server configuration.RemoteLoggingServerExceptionCopyright © 2025 WSO2. All rights reserved.