Package cz.metacentrum.perun.core.bl
Interface ConfigManagerBl
- All Known Implementing Classes:
ConfigManagerBlImpl
public interface ConfigManagerBl
ConfigManager serves to manage configuration files.
- Author:
- David Flor invalid input: '<'493294@mail.muni.cz>
-
Method Summary
Modifier and TypeMethodDescriptionGets personal data change configuration with all related core config properties.getPerunOidcConfig
(String requestUrl) Returns Oidc Configuration for this Perun instance (to be used for CLI communication).boolean
Checks whether spool files generated by the engine should be archivedvoid
Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)
-
Method Details
-
getPerunOidcConfig
OidcConfig getPerunOidcConfig(String requestUrl) throws OidcConfigNotExistsException, OidcConfigFileNotExistsException Returns Oidc Configuration for this Perun instance (to be used for CLI communication).- Parameters:
requestUrl
- url of request- Returns:
- oidcConfig
- Throws:
OidcConfigNotExistsException
- when configuration under such name doesn't existOidcConfigFileNotExistsException
- when configuration file for oidc configs doesn't exist.
-
reloadAppsConfig
void reloadAppsConfig()Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml) -
isArchiveSpoolEnabled
boolean isArchiveSpoolEnabled()Checks whether spool files generated by the engine should be archived -
getPersonalDataChangeConfig
PersonalDataChangeConfig getPersonalDataChangeConfig()Gets personal data change configuration with all related core config properties.- Returns:
- personal data change config
-