Interface ConfigManagerImplApi
- All Known Implementing Classes:
ConfigManagerImpl
public interface ConfigManagerImplApi
ConfigManager serves to manage configuration files.
- Author:
- David Flor <493294@mail.muni.cz>
-
Method Summary
Modifier and TypeMethodDescriptiongetPerunOidcConfig
(String name) Returns Oidc Configuration for this Perun instance (to be used for CLI communication).void
Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)void
setPerunAppsConfigLoader
(PerunAppsConfigLoader perunAppsConfigLoader) Sets the PerunAppsConfigLoadervoid
setPerunOidcConfigLoader
(PerunOidcConfigLoader perunOidcConfigLoader) Sets the PerunOidcConfigLoader
-
Method Details
-
setPerunAppsConfigLoader
Sets the PerunAppsConfigLoader- Parameters:
perunAppsConfigLoader
- loader to set
-
setPerunOidcConfigLoader
Sets the PerunOidcConfigLoader- Parameters:
perunOidcConfigLoader
- loader to set
-
reloadAppsConfig
void reloadAppsConfig()Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml) -
getPerunOidcConfig
OidcConfig getPerunOidcConfig(String name) throws OidcConfigNotExistsException, OidcConfigFileNotExistsException Returns Oidc Configuration for this Perun instance (to be used for CLI communication).- Parameters:
name
- name of desired configuration- Returns:
- oidcConfig
- Throws:
OidcConfigNotExistsException
- when configuration under such name doesn't existOidcConfigFileNotExistsException
- when configuration file for oidc configs doesn't exist.
-