接口 SkillFileFilter
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
已过时。
since 2.0.0. The skill package is removed; manage markdown skill catalogs in
application code.
Filter for deciding whether a skill resource should be uploaded.
-
方法概要
修饰符和类型方法说明boolean已过时。Determines whether a resource path should be accepted for upload.static SkillFileFilter已过时。Returns a filter that accepts all files.
-
方法详细资料
-
accept
已过时。Determines whether a resource path should be accepted for upload.- 参数:
resourcePath- The resource path (relative to the skill root)- 返回:
- true if the resource should be uploaded, false otherwise
-
acceptAll
已过时。Returns a filter that accepts all files.- 返回:
- A filter that accepts all files
-