Uses of Enum Class
com.tnsai.server.hooks.HookEvent
Packages that use HookEvent
-
Uses of HookEvent in com.tnsai.server.hooks
Methods in com.tnsai.server.hooks that return HookEventModifier and TypeMethodDescriptionHookConfig.event()Returns the value of theeventrecord component.static HookEventParse a YAML string like "preToolUse" or "pre_tool_use" into an enum constant.static HookEventReturns the enum constant of this class with the specified name.static HookEvent[]HookEvent.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tnsai.server.hooks with parameters of type HookEventModifier and TypeMethodDescriptionvoidFire hooks for the given event with context variables.voidDeclarativeHookRegistry.fireToolEvent(HookEvent event, String toolName, Map<String, String> extraContext) Fire hooks for a tool-specific event.DeclarativeHookRegistry.getHooksForEvent(HookEvent event) Returns hooks registered for a specific event.Constructors in com.tnsai.server.hooks with parameters of type HookEventModifierConstructorDescriptionHookConfig(HookEvent event, HookMatcher matcher, HookAction action) Creates an instance of aHookConfigrecord class.