Interfaces that plugins are implementing to define and integrate new exporters.

Create a new Graph File exporter

  1. Create a new module, and set ExportAPI as a dependency.
  2. Create a new class that implements TextGraphFileExporter or XMLGraphFileExporter.
  3. Add @ServiceProvider annotation to your class to declare you are implementing an Exporter service. Put GraphFileExporter.class as the annotation service parameter.

To let your export task be cancelled and its progress watched, implement LongTask interface.

Note that Exporters are singleton, it's preferable to always instantiate an inner class exporter when exportData() is called.