ResetConfig
@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public static class ResetConfig
源码Source
io/agentscope/builder/runtime/config/SessionLifecycleConfig.java:72–105重置配置,保存相关配置项。位于 io.agentscope.builder.runtime.config 包。核心成员包括 getDailyAt、setDailyAt、getIdleMinutes、setIdleMinutes。
A class in io.agentscope.builder.runtime.config that deploys, schedules and serves agents. Declared in io.agentscope.builder.runtime.config.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getDailyAt() | 获取 `getDailyAt`。 Returns the daily at. |
public void setDailyAt(String dailyAt) | 设置 `setDailyAt`。 Sets the daily at. |
public Integer getIdleMinutes() | 获取 `getIdleMinutes`。 Returns the idle minutes. |
public void setIdleMinutes(Integer idleMinutes) | 设置 `setIdleMinutes`。 Sets the idle minutes. |
方法详情Method Detail
getDailyAt
public String getDailyAt()
获取 getDailyAt。
Returns the daily at.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/builder/runtime/config/SessionLifecycleConfig.java:90–92setDailyAt
public void setDailyAt(String dailyAt)
设置 setDailyAt。
Sets the daily at.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
dailyAt | String | daily At(类型 `String`)。The daily at. |
源码Source
io/agentscope/builder/runtime/config/SessionLifecycleConfig.java:94–96getIdleMinutes
public Integer getIdleMinutes()
获取 getIdleMinutes。
Returns the idle minutes.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/builder/runtime/config/SessionLifecycleConfig.java:98–100setIdleMinutes
public void setIdleMinutes(Integer idleMinutes)
设置 setIdleMinutes。
Sets the idle minutes.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
idleMinutes | Integer | idle 分钟(类型 `Integer`)。The idle minutes. |
源码Source
io/agentscope/builder/runtime/config/SessionLifecycleConfig.java:102–104