Class DetectionResult


  • public final class DetectionResult
    extends Object
    Immutable result produced by any InjectionDetector implementation.

    A result carries:

    • whether an injection was detected
    • the confidence score (0.0 – 1.0; -1 when unavailable)
    • a machine-readable reason code for structured audit logging
    • the detector layer that made the final determination