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).

Example:
   @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:
  • Method Summary

    Modifier and Type
    Method
    Description
    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

      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 model
      tripleStore - the triple store