Interface ConfigManagerBl

All Known Implementing Classes:
ConfigManagerBlImpl

public interface ConfigManagerBl
ConfigManager serves to manage configuration files.
Author:
David Flor <493294@mail.muni.cz>
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns Oidc Configuration for this Perun instance (to be used for CLI communication).
    boolean
    Checks whether spool files generated by the engine should be archived
    void
    Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)
  • Method Details

    • getPerunOidcConfig

      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 exist
      OidcConfigFileNotExistsException - 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