Class ControlStatusBridge
java.lang.Object
ai.attackframework.tools.burp.utils.ControlStatusBridge
Bridges runtime events to the Config control-status area.
The exporter has background paths such as spill handling that may need to post a user-visible
status without direct access to ConfigPanel. The most recently registered listener wins.
This utility is process-local and thread-safe.
-
Method Summary
-
Method Details
-
register
Registers the current control-status listener.Callers typically register from the EDT via
ConfigPanel. Any previously registered listener is replaced.- Parameters:
listener- consumer that accepts user-visible status text; may benull
-
clear
public static void clear()Clears the registered listener.Used by test reset paths and any runtime teardown that should stop background status delivery.
-
post
Posts a status message when a listener is registered.Blank messages are ignored. This method does not enforce EDT delivery; the registered listener is responsible for marshaling to the correct thread when needed.
- Parameters:
message- user-visible status text
-