类 JarSkillRepositoryAdapter
java.lang.Object
io.agentscope.core.skill.repository.ClasspathSkillRepository
io.agentscope.core.skill.util.JarSkillRepositoryAdapter
- 所有已实现的接口:
AgentSkillRepository,AutoCloseable
已过时。
-
构造器概要
构造器限定符构造器说明JarSkillRepositoryAdapter(String resourcePath) 已过时。protectedJarSkillRepositoryAdapter(String resourcePath, ClassLoader classLoader) 已过时。 -
方法概要
从类继承的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
close, delete, getAllSkillNames, getAllSkills, getRepositoryInfo, getSkill, getSource, isJarEnvironment, isWriteable, save, setWriteable, skillExists
-
构造器详细资料
-
JarSkillRepositoryAdapter
已过时。Creates an adapter for loading skills from resources.- 参数:
resourcePath- The path to the skill under resources, e.g., "writing-skills"- 抛出:
IOException- if initialization fails
-
JarSkillRepositoryAdapter
@Deprecated protected JarSkillRepositoryAdapter(String resourcePath, ClassLoader classLoader) throws IOException 已过时。Creates an adapter for loading skills from resources using a specific ClassLoader.- 参数:
resourcePath- The path to the skill under resources, e.g., "writing-skills"classLoader- The ClassLoader to use for loading resources- 抛出:
IOException- if initialization fails
-
ClasspathSkillRepositoryinstead.