public interface SystemApi
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<Boolean> |
databaseRecycle()
will recycle the connections.
|
default ApiResponse<AnalyticsRows> |
getAnalytics() |
default ApiResponse<AnalyticsRows> |
getAnalytics(AnalyticsCategory category) |
ApiResponse<AnalyticsRows> |
getAnalytics(AnalyticsCategory category,
String teamId) |
default ApiResponse<AnalyticsRows> |
getAnalytics(String teamId) |
ApiResponse<Config> |
getConfig()
will retrieve the server config with some sanitized items.
|
default ApiResponse<Map<String,String>> |
getOldClientConfig()
will retrieve the parts of the server configuration needed by the client, formatted in the old
format.
|
ApiResponse<Map<String,String>> |
getOldClientConfig(String etag)
will retrieve the parts of the server configuration needed by the client, formatted in the old
format.
|
default ApiResponse<Map<String,String>> |
getOldClientLicense()
will retrieve the parts of the server license needed by the client, formatted in the old
format.
|
ApiResponse<Map<String,String>> |
getOldClientLicense(String etag)
will retrieve the parts of the server license needed by the client, formatted in the old
format.
|
ApiResponse<Boolean> |
getPing()
will ping the server and to see if it is up and running.
|
ApiResponse<Boolean> |
invalidateCaches()
will purge the cache and can affect the performance while is cleaning.
|
ApiResponse<Boolean> |
reloadConfig()
will reload the server configuration.
|
ApiResponse<Boolean> |
removeLicense() |
ApiResponse<Boolean> |
testEmail()
will attempt to connect to the configured SMTP server.
|
ApiResponse<Config> |
updateConfig(Config config)
will update the server configuration.
|
ApiResponse<Boolean> |
uploadLicenseFile(Path licenseFile) |
ApiResponse<Boolean> getPing()
ApiResponse<Boolean> testEmail()
ApiResponse<Config> getConfig()
ApiResponse<Boolean> reloadConfig()
default ApiResponse<Map<String,String>> getOldClientConfig()
ApiResponse<Map<String,String>> getOldClientConfig(String etag)
default ApiResponse<Map<String,String>> getOldClientLicense()
ApiResponse<Map<String,String>> getOldClientLicense(String etag)
ApiResponse<Boolean> databaseRecycle()
ApiResponse<Boolean> invalidateCaches()
ApiResponse<Config> updateConfig(Config config)
default ApiResponse<AnalyticsRows> getAnalytics()
default ApiResponse<AnalyticsRows> getAnalytics(AnalyticsCategory category)
default ApiResponse<AnalyticsRows> getAnalytics(String teamId)
ApiResponse<AnalyticsRows> getAnalytics(AnalyticsCategory category, String teamId)
ApiResponse<Boolean> uploadLicenseFile(Path licenseFile)
ApiResponse<Boolean> removeLicense()
Copyright © 2019. All rights reserved.