SkillRepositoryConfigEntry
@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public class SkillRepositoryConfigEntry
io/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:29–120技能仓库配置条目,承载智能体的部署、调度与服务化运行。位于 io.agentscope.harness.coding.config 包。核心成员包括 getType、setType、getPath、setPath、getRemoteUrl、setRemoteUrl。
Declarative skill repository settings for agentscope.json (and similar) configs.
Use type: "filesystem" with #path or type: "git" with #remoteUrl. Git support requires io.agentscope:agentscope-extensions-skill-git-repository
on the classpath.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getType() | 获取类型。 Returns the type. |
public void setType(String type) | 设置类型。 Sets the type. |
public String getPath() | 获取路径。 Returns the path. |
public void setPath(String path) | 设置路径。 Sets the path. |
public String getRemoteUrl() | 获取远程 URL。 Returns the remote url. |
public void setRemoteUrl(String remoteUrl) | 设置远程 URL。 Sets the remote url. |
public String getBranch() | 获取 `getBranch`。 Returns the branch. |
public void setBranch(String branch) | 设置 `setBranch`。 Sets the branch. |
public String getLocalPath() | 获取本地路径。 Returns the local path. |
public void setLocalPath(String localPath) | 设置本地路径。 Sets the local path. |
public String getSource() | 获取来源。 Returns the source. |
public void setSource(String source) | 设置来源。 Sets the source. |
public Boolean getAutoSync() | 获取 `getAutoSync`。 Returns the auto sync. |
public void setAutoSync(Boolean autoSync) | 设置 `setAutoSync`。 Sets the auto sync. |
方法详情Method Detail
getType
public String getType()
获取类型。
Returns the type.
Stringio/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:65–67setType
public void setType(String type)
设置类型。
Sets the type.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
type | String | 类型(类型 `String`)。The type. |
io/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:69–71getPath
public String getPath()
获取路径。
Returns the path.
Stringio/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:73–75setPath
public void setPath(String path)
设置路径。
Sets the path.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
path | String | 路径(类型 `String`)。The path. |
io/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:77–79getRemoteUrl
public String getRemoteUrl()
获取远程 URL。
Returns the remote url.
Stringio/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:81–83setRemoteUrl
public void setRemoteUrl(String remoteUrl)
设置远程 URL。
Sets the remote url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
remoteUrl | String | 远程 URL(类型 `String`)。The remote url. |
io/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:85–87getBranch
public String getBranch()
获取 getBranch。
Returns the branch.
Stringio/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:89–91setBranch
public void setBranch(String branch)
设置 setBranch。
Sets the branch.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
branch | String | branch(类型 `String`)。The branch. |
io/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:93–95getLocalPath
public String getLocalPath()
获取本地路径。
Returns the local path.
Stringio/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:97–99setLocalPath
public void setLocalPath(String localPath)
设置本地路径。
Sets the local path.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
localPath | String | 本地路径(类型 `String`)。The local path. |
io/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:101–103getSource
public String getSource()
获取来源。
Returns the source.
Stringio/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:105–107setSource
public void setSource(String source)
设置来源。
Sets the source.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
source | String | 来源(类型 `String`)。The source. |
io/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:109–111getAutoSync
public Boolean getAutoSync()
获取 getAutoSync。
Returns the auto sync.
Booleanio/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:113–115setAutoSync
public void setAutoSync(Boolean autoSync)
设置 setAutoSync。
Sets the auto sync.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
autoSync | Boolean | auto 同步(类型 `Boolean`)。The auto sync. |
io/agentscope/harness/coding/config/SkillRepositoryConfigEntry.java:117–119