Package com.powsybl.cgmes.conversion
Interface CgmesImportPostProcessor
-
- All Known Implementing Classes:
PhaseAngleClock
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
Example:@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
- See Also:
ServiceLoader
,AutoService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Get post processor name.void
process(Network network, TripleStore tripleStore)
Method called after all base data have been processed.
-
-
-
Method Detail
-
getName
String getName()
Get post processor name. It has to be unique among all CGMES post-processors.- Returns:
- post processor name
-
process
void process(Network network, TripleStore tripleStore)
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
-
-