Package com.longbridge.agent
Class PlanChangedEvent
- java.lang.Object
-
- com.longbridge.agent.ConversationStreamEvent
-
- com.longbridge.agent.PlanChangedEvent
-
public final class PlanChangedEvent extends ConversationStreamEvent
The Agent created or updated its task plan.
-
-
Constructor Summary
Constructors Constructor Description PlanChangedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNodeId()Returns the ID of the planning node.StringgetOutputs()Returns the current plan content, as JSON text.longgetStartedAt()Returns the time of the change, Unix timestamp in seconds.StringgetToolName()Returns the identifier of the planning tool.StringtoString()
-
-
-
Method Detail
-
getNodeId
public String getNodeId()
Returns the ID of the planning node.- Returns:
- ID of the planning node
-
getStartedAt
public long getStartedAt()
Returns the time of the change, Unix timestamp in seconds.- Returns:
- time of the change
-
getOutputs
public String getOutputs()
Returns the current plan content, as JSON text.- Returns:
- current plan content (JSON text), or
null
-
getToolName
public String getToolName()
Returns the identifier of the planning tool.- Returns:
- identifier of the planning tool
-
-