接口 SkillFileFilter

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface @Deprecated(since="2.0.0") public interface SkillFileFilter
已过时。
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
    accept(String resourcePath)
    已过时。
    Determines whether a resource path should be accepted for upload.
    已过时。
    Returns a filter that accepts all files.
  • 方法详细资料

    • accept

      boolean accept(String resourcePath)
      已过时。
      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

      static SkillFileFilter acceptAll()
      已过时。
      Returns a filter that accepts all files.
      返回:
      A filter that accepts all files