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

public class ExportTXT extends Object implements Exporter
Export for text export via the command line.
  • Constructor Details

    • ExportTXT

      public ExportTXT(Path targetDir)
      Create a new ExportTXT step.
      Parameters:
      targetDir - the directory to write one txt file per threat into.
  • 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.