AS AgentScopeAPI 手册 / API Reference

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
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:29–274

Coord Hitl Ticket Entity,在多次调用之间保存和恢复会话与记忆数据。位于 io.agentscope.builder.web.persistence.jpa 包。核心成员包括 getRowId、setRowId、getToolUseId、setToolUseId、getSessionId、setSessionId。

Shared HITL tool-confirmation tickets.

方法摘要Method Summary

方法Method说明Description
public Long getRowId()
获取 `getRowId`。
Returns the row id.
public void setRowId(Long rowId)
设置 `setRowId`。
Sets the row id.
public String getToolUseId()
获取工具使用标识。
Returns the tool use id.
public void setToolUseId(String toolUseId)
设置工具使用标识。
Sets the tool use id.
public String getSessionId()
获取会话标识。
Returns the session id.
public void setSessionId(String sessionId)
设置会话标识。
Sets the session id.
public String getOwnerId()
获取所有者标识。
Returns the owner id.
public void setOwnerId(String ownerId)
设置所有者标识。
Sets the owner id.
public String getApprovalId()
获取 `getApprovalId`。
Returns the approval id.
public void setApprovalId(String approvalId)
设置 `setApprovalId`。
Sets the approval id.
public String getAgentTaskId()
获取智能体任务标识。
Returns the agent task id.
public void setAgentTaskId(String agentTaskId)
设置智能体任务标识。
Sets the agent task id.
public String getAttemptId()
获取尝试标识。
Returns the attempt id.
public void setAttemptId(String attemptId)
设置尝试标识。
Sets the attempt id.
public long getDispatchGeneration()
获取 `getDispatchGeneration`。
Returns the dispatch generation.
public void setDispatchGeneration(long dispatchGeneration)
设置 `setDispatchGeneration`。
Sets the dispatch generation.
public String getTurnId()
获取轮次标识。
Returns the turn id.
public void setTurnId(String turnId)
设置轮次标识。
Sets the turn id.
public String getContinuationLeaseId()
获取 `getContinuationLeaseId`。
Returns the continuation lease id.
public void setContinuationLeaseId(String continuationLeaseId)
设置 `setContinuationLeaseId`。
Sets the continuation lease id.
public String getToolName()
获取工具名称。
Returns the tool name.
public void setToolName(String toolName)
设置工具名称。
Sets the tool name.
public String getInputJson()
获取输入 JSON。
Returns the input json.
public void setInputJson(String inputJson)
设置输入 JSON。
Sets the input json.
public String getResolutionStatus()
获取 `getResolutionStatus`。
Returns the resolution status.
public void setResolutionStatus(String resolutionStatus)
设置 `setResolutionStatus`。
Sets the resolution status.
public long getDecisionVersion()
获取决策版本。
Returns the decision version.
public void setDecisionVersion(long decisionVersion)
设置决策版本。
Sets the decision version.
public Boolean getResolvedAllow()
获取 `getResolvedAllow`。
Returns the resolved allow.
public void setResolvedAllow(Boolean resolvedAllow)
设置 `setResolvedAllow`。
Sets the resolved allow.
public String getDenyMessage()
获取拒绝消息。
Returns the deny message.
public void setDenyMessage(String denyMessage)
设置拒绝消息。
Sets the deny message.
public long getCreatedAt()
获取已创建 At。
Returns the created at.
public void setCreatedAt(long createdAt)
设置已创建 At。
Sets the created at.
public long getExpiresAt()
获取过期 At。
Returns the expires at.
public void setExpiresAt(long expiresAt)
设置过期 At。
Sets the expires at.
public Long getResolvedAt()
获取已解析 At。
Returns the resolved at.
public void setResolvedAt(Long resolvedAt)
设置已解析 At。
Sets the resolved at.
public Boolean getContinuationReady()
获取 `getContinuationReady`。
Returns the continuation ready.
public void setContinuationReady(Boolean continuationReady)
设置 `setContinuationReady`。
Sets the continuation ready.

方法详情Method Detail

getRowId

public Long getRowId()

获取 getRowId。

Returns the row id.

返回Returns Long
返回数值结果。Returns a numeric result.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:115–117

setRowId

public void setRowId(Long rowId)

设置 setRowId。

Sets the row id.

参数Parameters
名称Name类型Type说明Description
rowIdLongrow 标识(类型 `Long`)。The row id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:119–121

getToolUseId

public String getToolUseId()

获取工具使用标识。

Returns the tool use id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:123–125

setToolUseId

public void setToolUseId(String toolUseId)

设置工具使用标识。

Sets the tool use id.

参数Parameters
名称Name类型Type说明Description
toolUseIdString工具使用标识(类型 `String`)。The tool use id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:127–129

getSessionId

public String getSessionId()

获取会话标识。

Returns the session id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:131–133

setSessionId

public void setSessionId(String sessionId)

设置会话标识。

Sets the session id.

参数Parameters
名称Name类型Type说明Description
sessionIdString会话标识(类型 `String`)。The session id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:135–137

getOwnerId

public String getOwnerId()

获取所有者标识。

Returns the owner id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:139–141

setOwnerId

public void setOwnerId(String ownerId)

设置所有者标识。

Sets the owner id.

参数Parameters
名称Name类型Type说明Description
ownerIdString所有者标识(类型 `String`)。The owner id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:143–145

getApprovalId

public String getApprovalId()

获取 getApprovalId。

Returns the approval id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:147–149

setApprovalId

public void setApprovalId(String approvalId)

设置 setApprovalId。

Sets the approval id.

参数Parameters
名称Name类型Type说明Description
approvalIdStringapproval 标识(类型 `String`)。The approval id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:151–153

getAgentTaskId

public String getAgentTaskId()

获取智能体任务标识。

Returns the agent task id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:155–157

setAgentTaskId

public void setAgentTaskId(String agentTaskId)

设置智能体任务标识。

Sets the agent task id.

参数Parameters
名称Name类型Type说明Description
agentTaskIdString智能体任务标识(类型 `String`)。The agent task id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:159–161

getAttemptId

public String getAttemptId()

获取尝试标识。

Returns the attempt id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:163–165

setAttemptId

public void setAttemptId(String attemptId)

设置尝试标识。

Sets the attempt id.

参数Parameters
名称Name类型Type说明Description
attemptIdString尝试标识(类型 `String`)。The attempt id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:167–169

getDispatchGeneration

public long getDispatchGeneration()

获取 getDispatchGeneration。

Returns the dispatch generation.

返回Returns long
返回数值结果。Returns a numeric result.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:171–173

setDispatchGeneration

public void setDispatchGeneration(long dispatchGeneration)

设置 setDispatchGeneration。

Sets the dispatch generation.

参数Parameters
名称Name类型Type说明Description
dispatchGenerationlongdispatch Generation(类型 `long`)。The dispatch generation.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:175–177

getTurnId

public String getTurnId()

获取轮次标识。

Returns the turn id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:179–181

setTurnId

public void setTurnId(String turnId)

设置轮次标识。

Sets the turn id.

参数Parameters
名称Name类型Type说明Description
turnIdString轮次标识(类型 `String`)。The turn id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:183–185

getContinuationLeaseId

public String getContinuationLeaseId()

获取 getContinuationLeaseId。

Returns the continuation lease id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:187–189

setContinuationLeaseId

public void setContinuationLeaseId(String continuationLeaseId)

设置 setContinuationLeaseId。

Sets the continuation lease id.

参数Parameters
名称Name类型Type说明Description
continuationLeaseIdStringcontinuation Lease 标识(类型 `String`)。The continuation lease id.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:191–193

getToolName

public String getToolName()

获取工具名称。

Returns the tool name.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:195–197

setToolName

public void setToolName(String toolName)

设置工具名称。

Sets the tool name.

参数Parameters
名称Name类型Type说明Description
toolNameString工具名称(类型 `String`)。The tool name.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:199–201

getInputJson

public String getInputJson()

获取输入 JSON。

Returns the input json.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:203–205

setInputJson

public void setInputJson(String inputJson)

设置输入 JSON。

Sets the input json.

参数Parameters
名称Name类型Type说明Description
inputJsonString输入 JSON(类型 `String`)。The input json.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:207–209

getResolutionStatus

public String getResolutionStatus()

获取 getResolutionStatus。

Returns the resolution status.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:211–213

setResolutionStatus

public void setResolutionStatus(String resolutionStatus)

设置 setResolutionStatus。

Sets the resolution status.

参数Parameters
名称Name类型Type说明Description
resolutionStatusStringresolution 状态(类型 `String`)。The resolution status.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:215–217

getDecisionVersion

public long getDecisionVersion()

获取决策版本。

Returns the decision version.

返回Returns long
返回数值结果。Returns a numeric result.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:219–221

setDecisionVersion

public void setDecisionVersion(long decisionVersion)

设置决策版本。

Sets the decision version.

参数Parameters
名称Name类型Type说明Description
decisionVersionlong决策版本(类型 `long`)。The decision version.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:223–225

getResolvedAllow

public Boolean getResolvedAllow()

获取 getResolvedAllow。

Returns the resolved allow.

返回Returns Boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:227–229

setResolvedAllow

public void setResolvedAllow(Boolean resolvedAllow)

设置 setResolvedAllow。

Sets the resolved allow.

参数Parameters
名称Name类型Type说明Description
resolvedAllowBoolean已解析 Allow(类型 `Boolean`)。The resolved allow.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:231–233

getDenyMessage

public String getDenyMessage()

获取拒绝消息。

Returns the deny message.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:235–237

setDenyMessage

public void setDenyMessage(String denyMessage)

设置拒绝消息。

Sets the deny message.

参数Parameters
名称Name类型Type说明Description
denyMessageString拒绝消息(类型 `String`)。The deny message.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:239–241

getCreatedAt

public long getCreatedAt()

获取已创建 At。

Returns the created at.

返回Returns long
返回数值结果。Returns a numeric result.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:243–245

setCreatedAt

public void setCreatedAt(long createdAt)

设置已创建 At。

Sets the created at.

参数Parameters
名称Name类型Type说明Description
createdAtlong已创建 At(类型 `long`)。The created at.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:247–249

getExpiresAt

public long getExpiresAt()

获取过期 At。

Returns the expires at.

返回Returns long
返回数值结果。Returns a numeric result.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:251–253

setExpiresAt

public void setExpiresAt(long expiresAt)

设置过期 At。

Sets the expires at.

参数Parameters
名称Name类型Type说明Description
expiresAtlong过期 At(类型 `long`)。The expires at.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:255–257

getResolvedAt

public Long getResolvedAt()

获取已解析 At。

Returns the resolved at.

返回Returns Long
返回数值结果。Returns a numeric result.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:259–261

setResolvedAt

public void setResolvedAt(Long resolvedAt)

设置已解析 At。

Sets the resolved at.

参数Parameters
名称Name类型Type说明Description
resolvedAtLong已解析 At(类型 `Long`)。The resolved at.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:263–265

getContinuationReady

public Boolean getContinuationReady()

获取 getContinuationReady。

Returns the continuation ready.

返回Returns Boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:267–269

setContinuationReady

public void setContinuationReady(Boolean continuationReady)

设置 setContinuationReady。

Sets the continuation ready.

参数Parameters
名称Name类型Type说明Description
continuationReadyBooleancontinuation 就绪(类型 `Boolean`)。The continuation ready.
源码Source io/agentscope/builder/web/persistence/jpa/CoordHitlTicketEntity.java:271–273
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.