Package com.powsybl.commons.config
Interface PlatformConfigNamedProvider
-
- All Known Subinterfaces:
DynamicSimulationProvider
,LoadFlowProvider
,NetworkFactoryService
,SecurityAnalysisProvider
,SensitivityAnalysisProvider
,ShortCircuitAnalysisProvider
- All Known Implementing Classes:
DefaultSecurityAnalysisProvider
,NetworkFactoryServiceImpl
public interface PlatformConfigNamedProvider
A provider that can be loaded by by Java's ServiceLoader based on its name present in an entry in the PlatformConfig.- Author:
- Jon Harper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PlatformConfigNamedProvider.Finder
A utility class to find providers in thePlatformConfig
by their names configured in standard fields. the find* methods use the standard fields while the find*BackwardsCompatible methods also look in the legacy fields.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getName()
Get the name.default String
getPlatformConfigName()
Get the Provider name used for identifying this provider in the PlatformConfig.
-
-
-
Method Detail
-
getName
String getName()
Get the name.- Returns:
- the name
-
getPlatformConfigName
default String getPlatformConfigName()
Get the Provider name used for identifying this provider in the PlatformConfig. Defaults to getName(). Override this method only if getName() is already implemented and returns the wrong name.- Returns:
- the name
-
-