Package com.powsybl.cgmes.conversion
Interface CgmesImportPostProcessor
- All Known Implementing Classes:
CgmesGLImportPostProcessor
,CgmesMeasurementsPostProcessor
,CgmesShortCircuitPostProcessor
,EntsoeCategoryPostProcessor
,PhaseAngleClock
,RemoveGroundsPostProcessor
public interface CgmesImportPostProcessor
Interface for CGMES post-processor plugins. All CGMES post-processors have to implement this interface and implementation
class has to be annotated with @AutoService(CgmesImportPostProcessor.class)
.
@AutoService(CgmesImportPostProcessor.class) public class MyPlugin implements CgmesImportPostProcessor { @Override public String getName() { return "MyPlugin"; } @Override public void process(Network network, TripleStore tripleStore) { ... } }
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
- See Also:
-
ServiceLoader
AutoService
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get post processor name.void
process
(Network network, TripleStore tripleStore) Method called after all base data have been processed.
-
Method Details
-
getName
String getName()Get post processor name. It has to be unique among all CGMES post-processors.- Returns:
- post processor name
-
process
Method called after all base data have been processed. It is called one time per CGMES conversion. It is expected in this method to query triple store for additional data and to attach IIDM extensions to network.- Parameters:
network
- the IIDM network modeltripleStore
- the triple store
-