Uses of Enum Class
com.tnsai.hooks.events.AgentState
Packages that use AgentState
Package
Description
Agent classes and lifecycle management for the TnsAI framework.
-
Uses of AgentState in com.tnsai.agents
Methods in com.tnsai.agents that return AgentStateModifier and TypeMethodDescriptionfinal AgentStateAgent.getState()Returns the agent's current lifecycle state. -
Uses of AgentState in com.tnsai.hooks.events
Methods in com.tnsai.hooks.events that return AgentStateModifier and TypeMethodDescriptionOnStateTransition.from()Returns the value of thefromrecord component.OnStateTransition.to()Returns the value of thetorecord component.static AgentStateReturns the enum constant of this class with the specified name.static AgentState[]AgentState.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.tnsai.hooks.events with parameters of type AgentStateModifierConstructorDescriptionOnStateTransition(String eventId, Instant timestamp, HookContext context, AgentState from, AgentState to, String trigger) Creates an instance of aOnStateTransitionrecord class.