Enum Class的使用
io.agentscope.core.hook.HookEventType
使用HookEventType的程序包
-
io.agentscope.core.hook中HookEventType的使用
修饰符和类型方法说明final HookEventTypeHookEvent.getType()Get the event type.static HookEventTypeReturns the enum constant of this class with the specified name.static HookEventType[]HookEventType.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为HookEventType的io.agentscope.core.hook中的构造器限定符构造器说明protectedActingEvent(HookEventType type, Agent agent, Toolkit toolkit, ToolUseBlock toolUse) Constructor for ActingEvent.protectedHookEvent(HookEventType type, Agent agent) Constructor for HookEvent.protectedReasoningEvent(HookEventType type, Agent agent, String modelName, GenerateOptions generateOptions) Constructor for ReasoningEvent.protectedSummaryEvent(HookEventType type, Agent agent, String modelName, GenerateOptions generateOptions) Constructor for SummaryEvent.