Uses of Class
com.github.copilot.rpc.PermissionRequestResult
Packages that use PermissionRequestResult
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of PermissionRequestResult in com.github.copilot.rpc
Methods in com.github.copilot.rpc that return PermissionRequestResultModifier and TypeMethodDescriptionstatic PermissionRequestResultPermissionRequestResult.approveOnce()Creates a result that approves this single request.static PermissionRequestResultPermissionRequestResult.noResult()Creates a result that declines to respond to this permission request, allowing another connected client to answer instead.static PermissionRequestResultCreates a result that rejects the request, optionally forwarding feedback to the LLM.PermissionRequestResult.setFeedback(String feedback) Sets optional human-readable feedback to forward to the LLM along with the decision.PermissionRequestResult.setKind(PermissionRequestResultKind kind) Sets the result kind using aPermissionRequestResultKindvalue.Sets the result kind using a raw string value.Sets approval rules for future similar requests.static PermissionRequestResultPermissionRequestResult.userNotAvailable()Creates a result denying the request because no user is available to confirm it.Methods in com.github.copilot.rpc that return types with arguments of type PermissionRequestResultModifier and TypeMethodDescriptionPermissionHandler.handle(PermissionRequest request, PermissionInvocation invocation) Handles a permission request from the assistant.