AS AgentScopeAPI 手册 / API Reference

SkillRepositoryConfigEntry

@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public class SkillRepositoryConfigEntry
源码Source 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.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:74–76

setType

public void setType(String type)

设置类型。

Sets the type.

参数Parameters
名称Name类型Type说明Description
typeString类型(类型 `String`)。The type.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:78–80

getPath

public String getPath()

获取路径。

Returns the path.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:82–84

setPath

public void setPath(String path)

设置路径。

Sets the path.

参数Parameters
名称Name类型Type说明Description
pathString路径(类型 `String`)。The path.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:86–88

getRemoteUrl

public String getRemoteUrl()

获取远程 URL。

Returns the remote url.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:90–92

setRemoteUrl

public void setRemoteUrl(String remoteUrl)

设置远程 URL。

Sets the remote url.

参数Parameters
名称Name类型Type说明Description
remoteUrlString远程 URL(类型 `String`)。The remote url.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:94–96

getBranch

public String getBranch()

获取 getBranch。

Returns the branch.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:98–100

setBranch

public void setBranch(String branch)

设置 setBranch。

Sets the branch.

参数Parameters
名称Name类型Type说明Description
branchStringbranch(类型 `String`)。The branch.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:102–104

getSkillsRoot

public String getSkillsRoot()

获取技能根。

Returns the skills root.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:106–108

setSkillsRoot

public void setSkillsRoot(String skillsRoot)

设置技能根。

Sets the skills root.

参数Parameters
名称Name类型Type说明Description
skillsRootString技能根(类型 `String`)。The skills root.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:110–112

getLocalPath

public String getLocalPath()

获取本地路径。

Returns the local path.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:114–116

setLocalPath

public void setLocalPath(String localPath)

设置本地路径。

Sets the local path.

参数Parameters
名称Name类型Type说明Description
localPathString本地路径(类型 `String`)。The local path.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:118–120

getSource

public String getSource()

获取来源。

Returns the source.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:122–124

setSource

public void setSource(String source)

设置来源。

Sets the source.

参数Parameters
名称Name类型Type说明Description
sourceString来源(类型 `String`)。The source.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:126–128

getAutoSync

public Boolean getAutoSync()

获取 getAutoSync。

Returns the auto sync.

返回Returns Boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:130–132

setAutoSync

public void setAutoSync(Boolean autoSync)

设置 setAutoSync。

Sets the auto sync.

参数Parameters
名称Name类型Type说明Description
autoSyncBooleanauto 同步(类型 `Boolean`)。The auto sync.
源码Source io/agentscope/builder/runtime/config/SkillRepositoryConfigEntry.java:134–136
基于官方固定版本源码静态生成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.