SkillRepositoryConfigEntry
@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public class SkillRepositoryConfigEntry
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:29–137技能仓库配置条目,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder.runtime.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 getSkillsRoot() | 获取技能根。 Returns the skills root. |
public void setSkillsRoot(String skillsRoot) | 设置技能根。 Sets the skills root. |
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/builder/runtime/config/SkillRepositoryConfigEntry.java:74–76setType
public void setType(String type)
设置类型。
Sets the type.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
type | String | 类型(类型 `String`)。The type. |
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:78–80getPath
public String getPath()
获取路径。
Returns the path.
Stringio/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:82–84setPath
public void setPath(String path)
设置路径。
Sets the path.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
path | String | 路径(类型 `String`)。The path. |
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:86–88getRemoteUrl
public String getRemoteUrl()
获取远程 URL。
Returns the remote url.
Stringio/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:90–92setRemoteUrl
public void setRemoteUrl(String remoteUrl)
设置远程 URL。
Sets the remote url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
remoteUrl | String | 远程 URL(类型 `String`)。The remote url. |
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:94–96getBranch
public String getBranch()
获取 getBranch。
Returns the branch.
Stringio/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:98–100setBranch
public void setBranch(String branch)
设置 setBranch。
Sets the branch.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
branch | String | branch(类型 `String`)。The branch. |
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:102–104getSkillsRoot
public String getSkillsRoot()
获取技能根。
Returns the skills root.
Stringio/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:106–108setSkillsRoot
public void setSkillsRoot(String skillsRoot)
设置技能根。
Sets the skills root.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
skillsRoot | String | 技能根(类型 `String`)。The skills root. |
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:110–112getLocalPath
public String getLocalPath()
获取本地路径。
Returns the local path.
Stringio/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:114–116setLocalPath
public void setLocalPath(String localPath)
设置本地路径。
Sets the local path.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
localPath | String | 本地路径(类型 `String`)。The local path. |
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:118–120getSource
public String getSource()
获取来源。
Returns the source.
Stringio/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:122–124setSource
public void setSource(String source)
设置来源。
Sets the source.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
source | String | 来源(类型 `String`)。The source. |
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:126–128getAutoSync
public Boolean getAutoSync()
获取 getAutoSync。
Returns the auto sync.
Booleanio/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:130–132setAutoSync
public void setAutoSync(Boolean autoSync)
设置 setAutoSync。
Sets the auto sync.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
autoSync | Boolean | auto 同步(类型 `Boolean`)。The auto sync. |
io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:134–136