Class FileExportService
java.lang.Object
ai.attackframework.tools.burp.sinks.FileExportService
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 Summary
Modifier and TypeMethodDescriptionstatic voiddisableCurrentRoot(String reason) Disables file export for the current root for the remainder of the run.static voidemit(PreparedExportDocument document) Emits one prepared document to all enabled file formats.static voidemitBatch(List<PreparedExportDocument> documents) Emits a batch of prepared documents to all enabled file formats.static voidClears cached sink instances and runtime disable state.static voidClears cached sink instances, primarily for tests and lifecycle resets.
-
Method Details
-
emit
Emits one prepared document to all enabled file formats. -
emitBatch
Emits a batch of prepared documents to all enabled file formats. -
disableCurrentRoot
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.
-