java.lang.Object
be.kuleuven.cs.distrinet.sparta.cli.cmd.export.ExportCSV
All Implemented Interfaces:
Exporter

public class ExportCSV extends Object implements Exporter
Support for exporting to CSV via the command line.
  • Constructor Details

    • ExportCSV

      public ExportCSV(Path target)
      Create a new ExportCSV step.
      Parameters:
      target - the CSV file to write.
  • Method Details

    • export

      public boolean export(Collection<Threat> results)
      Description copied from interface: Exporter
      Run the export on the provided collection of threats.
      Specified by:
      export in interface Exporter
      Parameters:
      results - the collection of threats to export
      Returns:
      true if the export succeeded; false if it failed.