DeploymentEntity
@Entity @Table( name = "builder_deployment", indexes = { @Index(name = "ix_builder_deployment_owner", columnList = "owner_id"), @Index(name = "ix_builder_deployment_agent", columnList = "agent_id"), @Index(name = "ix_builder_deployment_webhook_token", columnList = "webhook_token") }) public class DeploymentEntity
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:31–233部署 Entity,在多次调用之间保存和恢复会话与记忆数据。位于 io.agentscope.builder.web.persistence.jpa 包。核心成员包括 getRowId、setRowId、getDeploymentId、setDeploymentId、getOwnerId、setOwnerId。
A deployment binds an agent (optionally pinned to a version) and an execution environment to a
trigger — cron, webhook, or manual — so it can be fired automatically
or on demand without a human driving a chat session.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public DeploymentEntity() | 初始化 `DeploymentEntity` 实例。 Creates a new instance. |
方法摘要Method Summary
构造器详情Constructor Detail
DeploymentEntity
public DeploymentEntity()
初始化 DeploymentEntity 实例。
Creates a new instance.
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:96方法详情Method Detail
getRowId
public Long getRowId()
获取 getRowId。
Returns the row id.
Longio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:98–100setRowId
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/DeploymentEntity.java:102–104getDeploymentId
public String getDeploymentId()
获取部署标识。
Returns the deployment id.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:106–108setDeploymentId
public void setDeploymentId(String deploymentId)
设置部署标识。
Sets the deployment id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
deploymentId | String | 部署标识(类型 `String`)。The deployment id. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:110–112getOwnerId
public String getOwnerId()
获取所有者标识。
Returns the owner id.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:114–116setOwnerId
public void setOwnerId(String ownerId)
设置所有者标识。
Sets the owner id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
ownerId | String | 所有者标识(类型 `String`)。The owner id. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:118–120getName
public String getName()
获取名称。
Returns the name.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:122–124setName
public void setName(String name)
设置名称。
Sets the name.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
name | String | 名称(类型 `String`)。The name. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:126–128getAgentId
public String getAgentId()
获取智能体标识。
Returns the agent id.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:130–132setAgentId
public void setAgentId(String agentId)
设置智能体标识。
Sets the agent id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentId | String | 智能体标识(类型 `String`)。The agent id. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:134–136getAgentVersion
public Integer getAgentVersion()
获取智能体版本。
Returns the agent version.
Integerio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:138–140setAgentVersion
public void setAgentVersion(Integer agentVersion)
设置智能体版本。
Sets the agent version.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentVersion | Integer | 智能体版本(类型 `Integer`)。The agent version. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:142–144getEnvironmentId
public String getEnvironmentId()
获取环境标识。
Returns the environment id.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:146–148setEnvironmentId
public void setEnvironmentId(String environmentId)
设置环境标识。
Sets the environment id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
environmentId | String | 环境标识(类型 `String`)。The environment id. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:150–152getTriggerType
public String getTriggerType()
获取 getTriggerType。
Returns the trigger type.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:154–156setTriggerType
public void setTriggerType(String triggerType)
设置 setTriggerType。
Sets the trigger type.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
triggerType | String | trigger 类型(类型 `String`)。The trigger type. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:158–160getCronExpression
public String getCronExpression()
获取 getCronExpression。
Returns the cron expression.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:162–164setCronExpression
public void setCronExpression(String cronExpression)
设置 setCronExpression。
Sets the cron expression.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
cronExpression | String | cron Expression(类型 `String`)。The cron expression. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:166–168getWebhookToken
public String getWebhookToken()
获取 getWebhookToken。
Returns the webhook token.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:170–172setWebhookToken
public void setWebhookToken(String webhookToken)
设置 setWebhookToken。
Sets the webhook token.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
webhookToken | String | webhook 令牌(类型 `String`)。The webhook token. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:174–176isEnabled
public boolean isEnabled()
判断是否已启用。
Returns whether the enabled.
booleanio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:178–180setEnabled
public void setEnabled(boolean enabled)
设置已启用。
Sets the enabled.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
enabled | boolean | 已启用(类型 `boolean`)。The enabled. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:182–184getLastRunAt
public Long getLastRunAt()
获取最后运行 At。
Returns the last run at.
Longio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:186–188setLastRunAt
public void setLastRunAt(Long lastRunAt)
设置最后运行 At。
Sets the last run at.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
lastRunAt | Long | 最后运行 At(类型 `Long`)。The last run at. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:190–192getLastSessionId
public String getLastSessionId()
获取最后会话标识。
Returns the last session id.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:194–196setLastSessionId
public void setLastSessionId(String lastSessionId)
设置最后会话标识。
Sets the last session id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
lastSessionId | String | 最后会话标识(类型 `String`)。The last session id. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:198–200getLastStatus
public String getLastStatus()
获取最后状态。
Returns the last status.
Stringio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:202–204setLastStatus
public void setLastStatus(String lastStatus)
设置最后状态。
Sets the last status.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
lastStatus | String | 最后状态(类型 `String`)。The last status. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:206–208getCreatedAt
public long getCreatedAt()
获取已创建 At。
Returns the created at.
longio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:210–212setCreatedAt
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/DeploymentEntity.java:214–216getUpdatedAt
public long getUpdatedAt()
获取已更新 At。
Returns the updated at.
longio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:218–220setUpdatedAt
public void setUpdatedAt(long updatedAt)
设置已更新 At。
Sets the updated at.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
updatedAt | long | 已更新 At(类型 `long`)。The updated at. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:222–224getArchivedAt
public Long getArchivedAt()
获取 getArchivedAt。
Returns the archived at.
Longio/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:226–228setArchivedAt
public void setArchivedAt(Long archivedAt)
设置 setArchivedAt。
Sets the archived at.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
archivedAt | Long | archived At(类型 `Long`)。The archived at. |
io/agentscope/builder/web/persistence/jpa/DeploymentEntity.java:230–232