Uses of Enum Class
com.tnsai.security.approval.InterruptReason
Packages that use InterruptReason
Package
Description
Human-in-the-loop (HITL) approval mechanism for sensitive agent actions.
-
Uses of InterruptReason in com.tnsai.security.approval
Methods in com.tnsai.security.approval that return InterruptReasonModifier and TypeMethodDescriptionstatic InterruptReasonParses a reason from its string value.InterruptService.InterruptRequest.reason()Returns the value of thereasonrecord component.static InterruptReasonReturns the enum constant of this class with the specified name.static InterruptReason[]InterruptReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tnsai.security.approval with parameters of type InterruptReasonModifier and TypeMethodDescriptionInterruptService.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.InterruptService.requestInterruptAsync(InterruptReason reason, Map<String, Object> payload, Duration timeout) Requests an interrupt without blocking (async).Constructors in com.tnsai.security.approval with parameters of type InterruptReasonModifierConstructorDescriptionInterruptRequest(String interruptId, InterruptReason reason, Map<String, Object> payload, Duration timeout, Instant createdAt) Creates an instance of aInterruptRequestrecord class.