CoordHitlTicketEntity
@Entity @Table( name = "builder_coord_hitl", uniqueConstraints = { @UniqueConstraint( name = "uk_builder_coord_hitl_session_tool", columnNames = {"session_id", "tool_use_id"}), @UniqueConstraint( name = "uk_builder_coord_hitl_execution_tool", columnNames = { "session_id", "attempt_id", "dispatch_generation", "turn_id", "tool_use_id" }) }, indexes = { @Index(name = "ix_builder_coord_hitl_session", columnList = "session_id"), @Index(name = "ix_builder_coord_hitl_expires", columnList = "expires_at") }) public class CoordHitlTicketEntity
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:29–274Coord Hitl Ticket Entity,在多次调用之间保存和恢复会话与记忆数据。位于 io.agentscope.builder.web.persistence.jpa 包。核心成员包括 getRowId、setRowId、getToolUseId、setToolUseId、getSessionId、setSessionId。
Shared HITL tool-confirmation tickets.
方法摘要Method Summary
方法详情Method Detail
getRowId
public Long getRowId()
获取 getRowId。
Returns the row id.
Longio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:115–117setRowId
public void setRowId(Long rowId)
设置 setRowId。
Sets the row id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
rowId | Long | row 标识(类型 `Long`)。The row id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:119–121getToolUseId
public String getToolUseId()
获取工具使用标识。
Returns the tool use id.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:123–125setToolUseId
public void setToolUseId(String toolUseId)
设置工具使用标识。
Sets the tool use id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
toolUseId | String | 工具使用标识(类型 `String`)。The tool use id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:127–129getSessionId
public String getSessionId()
获取会话标识。
Returns the session id.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:131–133setSessionId
public void setSessionId(String sessionId)
设置会话标识。
Sets the session id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
sessionId | String | 会话标识(类型 `String`)。The session id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:135–137getOwnerId
public String getOwnerId()
获取所有者标识。
Returns the owner id.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:139–141setOwnerId
public void setOwnerId(String ownerId)
设置所有者标识。
Sets the owner id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
ownerId | String | 所有者标识(类型 `String`)。The owner id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:143–145getApprovalId
public String getApprovalId()
获取 getApprovalId。
Returns the approval id.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:147–149setApprovalId
public void setApprovalId(String approvalId)
设置 setApprovalId。
Sets the approval id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
approvalId | String | approval 标识(类型 `String`)。The approval id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:151–153getAgentTaskId
public String getAgentTaskId()
获取智能体任务标识。
Returns the agent task id.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:155–157setAgentTaskId
public void setAgentTaskId(String agentTaskId)
设置智能体任务标识。
Sets the agent task id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentTaskId | String | 智能体任务标识(类型 `String`)。The agent task id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:159–161getAttemptId
public String getAttemptId()
获取尝试标识。
Returns the attempt id.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:163–165setAttemptId
public void setAttemptId(String attemptId)
设置尝试标识。
Sets the attempt id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
attemptId | String | 尝试标识(类型 `String`)。The attempt id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:167–169getDispatchGeneration
public long getDispatchGeneration()
获取 getDispatchGeneration。
Returns the dispatch generation.
longio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:171–173setDispatchGeneration
public void setDispatchGeneration(long dispatchGeneration)
设置 setDispatchGeneration。
Sets the dispatch generation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
dispatchGeneration | long | dispatch Generation(类型 `long`)。The dispatch generation. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:175–177getTurnId
public String getTurnId()
获取轮次标识。
Returns the turn id.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:179–181setTurnId
public void setTurnId(String turnId)
设置轮次标识。
Sets the turn id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
turnId | String | 轮次标识(类型 `String`)。The turn id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:183–185getContinuationLeaseId
public String getContinuationLeaseId()
获取 getContinuationLeaseId。
Returns the continuation lease id.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:187–189setContinuationLeaseId
public void setContinuationLeaseId(String continuationLeaseId)
设置 setContinuationLeaseId。
Sets the continuation lease id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
continuationLeaseId | String | continuation Lease 标识(类型 `String`)。The continuation lease id. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:191–193getToolName
public String getToolName()
获取工具名称。
Returns the tool name.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:195–197setToolName
public void setToolName(String toolName)
设置工具名称。
Sets the tool name.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
toolName | String | 工具名称(类型 `String`)。The tool name. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:199–201getInputJson
public String getInputJson()
获取输入 JSON。
Returns the input json.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:203–205setInputJson
public void setInputJson(String inputJson)
设置输入 JSON。
Sets the input json.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
inputJson | String | 输入 JSON(类型 `String`)。The input json. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:207–209getResolutionStatus
public String getResolutionStatus()
获取 getResolutionStatus。
Returns the resolution status.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:211–213setResolutionStatus
public void setResolutionStatus(String resolutionStatus)
设置 setResolutionStatus。
Sets the resolution status.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
resolutionStatus | String | resolution 状态(类型 `String`)。The resolution status. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:215–217getDecisionVersion
public long getDecisionVersion()
获取决策版本。
Returns the decision version.
longio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:219–221setDecisionVersion
public void setDecisionVersion(long decisionVersion)
设置决策版本。
Sets the decision version.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
decisionVersion | long | 决策版本(类型 `long`)。The decision version. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:223–225getResolvedAllow
public Boolean getResolvedAllow()
获取 getResolvedAllow。
Returns the resolved allow.
Booleanio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:227–229setResolvedAllow
public void setResolvedAllow(Boolean resolvedAllow)
设置 setResolvedAllow。
Sets the resolved allow.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
resolvedAllow | Boolean | 已解析 Allow(类型 `Boolean`)。The resolved allow. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:231–233getDenyMessage
public String getDenyMessage()
获取拒绝消息。
Returns the deny message.
Stringio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:235–237setDenyMessage
public void setDenyMessage(String denyMessage)
设置拒绝消息。
Sets the deny message.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
denyMessage | String | 拒绝消息(类型 `String`)。The deny message. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:239–241getCreatedAt
public long getCreatedAt()
获取已创建 At。
Returns the created at.
longio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:243–245setCreatedAt
public void setCreatedAt(long createdAt)
设置已创建 At。
Sets the created at.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
createdAt | long | 已创建 At(类型 `long`)。The created at. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:247–249getExpiresAt
public long getExpiresAt()
获取过期 At。
Returns the expires at.
longio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:251–253setExpiresAt
public void setExpiresAt(long expiresAt)
设置过期 At。
Sets the expires at.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
expiresAt | long | 过期 At(类型 `long`)。The expires at. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:255–257getResolvedAt
public Long getResolvedAt()
获取已解析 At。
Returns the resolved at.
Longio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:259–261setResolvedAt
public void setResolvedAt(Long resolvedAt)
设置已解析 At。
Sets the resolved at.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
resolvedAt | Long | 已解析 At(类型 `Long`)。The resolved at. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:263–265getContinuationReady
public Boolean getContinuationReady()
获取 getContinuationReady。
Returns the continuation ready.
Booleanio/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:267–269setContinuationReady
public void setContinuationReady(Boolean continuationReady)
设置 setContinuationReady。
Sets the continuation ready.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
continuationReady | Boolean | continuation 就绪(类型 `Boolean`)。The continuation ready. |
io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:271–273