类 ClassFilters

java.lang.Object
cn.taketoday.aop.support.ClassFilters

public abstract class ClassFilters extends Object
Static utility methods for composing ClassFilters.
从以下版本开始:
3.0
作者:
Rod Johnson, Rob Harrop, Juergen Hoeller, Sam Brannen, TODAY 2021/2/1 18:19
另请参阅:
  • 构造器详细资料

    • ClassFilters

      public ClassFilters()
  • 方法详细资料

    • union

      public static ClassFilter union(ClassFilter cf1, ClassFilter cf2)
      Match all classes that either (or both) of the given ClassFilters matches.
      参数:
      cf1 - the first ClassFilter
      cf2 - the second ClassFilter
      返回:
      a distinct ClassFilter that matches all classes that either of the given ClassFilter matches
    • union

      public static ClassFilter union(ClassFilter[] classFilters)
      Match all classes that either (or all) of the given ClassFilters matches.
      参数:
      classFilters - the ClassFilters to match
      返回:
      a distinct ClassFilter that matches all classes that either of the given ClassFilter matches
    • intersection

      public static ClassFilter intersection(ClassFilter cf1, ClassFilter cf2)
      Match all classes that both of the given ClassFilters match.
      参数:
      cf1 - the first ClassFilter
      cf2 - the second ClassFilter
      返回:
      a distinct ClassFilter that matches all classes that both of the given ClassFilter match
    • intersection

      public static ClassFilter intersection(ClassFilter[] classFilters)
      Match all classes that all of the given ClassFilters match.
      参数:
      classFilters - the ClassFilters to match
      返回:
      a distinct ClassFilter that matches all classes that both of the given ClassFilter match