Class FileExportService

java.lang.Object
ai.attackframework.tools.burp.sinks.FileExportService

public final class FileExportService extends Object
Shared dispatcher for file-based exports.

This service fans out prepared documents to enabled on-disk formats. It is process-local and safe for concurrent use.

  • Method Details

    • emit

      public static void emit(PreparedExportDocument document)
      Emits one prepared document to all enabled file formats.
    • emitBatch

      public static void emitBatch(List<PreparedExportDocument> documents)
      Emits a batch of prepared documents to all enabled file formats.
    • disableCurrentRoot

      public static void disableCurrentRoot(String reason)
      Disables file export for the current root for the remainder of the run.
    • resetForRuntime

      public static void resetForRuntime()
      Clears cached sink instances and runtime disable state.
    • resetForTests

      public static void resetForTests()
      Clears cached sink instances, primarily for tests and lifecycle resets.