Class ManagedDiskPaths

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

public final class ManagedDiskPaths extends Object
Resolves exporter-managed disk locations.

All automatic, non-user-chosen disk writes should live under one clearly named root so the extension does not scatter spill or temporary content across unrelated temp directories. Caller code may still write to explicit user-selected destinations, but helper paths owned by the exporter should resolve through this utility.

  • Method Details

    • managedRootDirectory

      public static Path managedRootDirectory()
      Returns the managed root directory under the platform temp location.

      This method is thread-safe and side-effect free. Callers are responsible for creating the directory when they need it to exist on disk.

      Returns:
      canonical exporter-managed temp root
    • spillDirectory

      public static Path spillDirectory()
      Returns the spill directory under the managed root.

      Traffic spill files should use this location so runtime overflow storage stays grouped under the same exporter-managed parent directory.

      Returns:
      canonical spill directory path