Interface Exporter
- All Known Implementing Classes:
ExportCSV,ExportReport,ExportStatistics,ExportTXT,ExportXLSX,SubmitToSpartaServer
public interface Exporter
A single export step of the sparta cli. Implementations are constructed with their
(already parsed and typed) target and only run when the corresponding option was
actually provided — the option-to-exporter wiring lives in the command class.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexport(Collection<Threat> results) Run the export on the provided collection of threats.
-
Method Details
-
export
Run the export on the provided collection of threats.- Parameters:
results- the collection of threats to export- Returns:
trueif the export succeeded;falseif it failed.
-