Class ExportStatistics

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

public class ExportStatistics extends Object implements Exporter
Export for threat statistics via the command line.
  • Constructor Details

    • ExportStatistics

      public ExportStatistics(Path target)
      Create a new ExportStatistics step.
      Parameters:
      target - the txt file to write the threat statistics to.
  • 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.