Class MontoyaApiProvider

java.lang.Object
ai.attackframework.tools.burp.utils.MontoyaApiProvider

public final class MontoyaApiProvider extends Object
Holder for the Montoya API instance provided at extension load. Set in Exporter.initialize(burp.api.montoya.MontoyaApi); used by components that need Burp APIs (e.g. settings export) without receiving the API through the UI hierarchy.
  • Method Details

    • set

      public static void set(burp.api.montoya.MontoyaApi montoyaApi)
      Sets the API handle. Called once from the extension entry point.
    • get

      public static burp.api.montoya.MontoyaApi get()
      Returns the current API handle, or null if not set (e.g. in tests).