Class ClassicPlatformConfigProvider

  • All Implemented Interfaces:
    PlatformConfigProvider

    @AutoService(PlatformConfigProvider.class)
    public class ClassicPlatformConfigProvider
    extends Object
    implements PlatformConfigProvider
    The classic powsybl PlatformConfig provider. It uses System Properties to get config dirs (powsybl.config.dirs, itools.config.dir; defaults to $HOME/.itools) and reads configuration from yaml, xml or java properties files. The config dir names can use the keywords from PlatformEnv (e.g. app.root, user.home). It also uses EnvironmentModuleConfigRepository to read configuration from environment variables.
    Author:
    Geoffroy Jamgotchian , Jon Harper
    • Constructor Detail

      • ClassicPlatformConfigProvider

        public ClassicPlatformConfigProvider()