类 ClassFilters
java.lang.Object
cn.taketoday.aop.support.ClassFilters
Static utility methods for composing
ClassFilters.- 从以下版本开始:
- 3.0
- 作者:
- Rod Johnson, Rob Harrop, Juergen Hoeller, Sam Brannen, TODAY 2021/2/1 18:19
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ClassFilterintersection(ClassFilter[] classFilters) Match all classes that all of the given ClassFilters match.static ClassFilterintersection(ClassFilter cf1, ClassFilter cf2) Match all classes that both of the given ClassFilters match.static ClassFilterunion(ClassFilter[] classFilters) Match all classes that either (or all) of the given ClassFilters matches.static ClassFilterunion(ClassFilter cf1, ClassFilter cf2) Match all classes that either (or both) of the given ClassFilters matches.
-
构造器详细资料
-
ClassFilters
public ClassFilters()
-
-
方法详细资料
-
union
Match all classes that either (or both) of the given ClassFilters matches.- 参数:
cf1- the first ClassFiltercf2- the second ClassFilter- 返回:
- a distinct ClassFilter that matches all classes that either of the given ClassFilter matches
-
union
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
Match all classes that both of the given ClassFilters match.- 参数:
cf1- the first ClassFiltercf2- the second ClassFilter- 返回:
- a distinct ClassFilter that matches all classes that both of the given ClassFilter match
-
intersection
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
-