Uses of Class
com.tnsai.security.approval.InterruptResult
Packages that use InterruptResult
Package
Description
Human-in-the-loop (HITL) approval mechanism for sensitive agent actions.
-
Uses of InterruptResult in com.tnsai.security.approval
Methods in com.tnsai.security.approval that return InterruptResultModifier and TypeMethodDescriptionstatic InterruptResultCreates an approved result.static InterruptResultCreates a cancelled result.static InterruptResultCreates an error result.static InterruptResultCreates a rejected result.InterruptService.requestInterrupt(InterruptReason reason, Map<String, Object> payload) Requests an interrupt and blocks until resolved or timed out.InterruptService.requestInterrupt(InterruptReason reason, Map<String, Object> payload, Duration timeout) Requests an interrupt with custom timeout.static InterruptResultCreates a timed out result.Methods in com.tnsai.security.approval that return types with arguments of type InterruptResultModifier and TypeMethodDescriptionInterruptService.requestInterruptAsync(InterruptReason reason, Map<String, Object> payload, Duration timeout) Requests an interrupt without blocking (async).