类 ResourcePatternHints.Builder
java.lang.Object
cn.taketoday.aot.hint.ResourcePatternHints.Builder
- 封闭类:
- ResourcePatternHints
Builder for
ResourcePatternHints.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) ResourcePatternHintsbuild()CreateResourcePatternHintsbased on the state of this builder.excludes(TypeReference reachableType, String... excludes) Exclude resources matching the specified patterns.Exclude resources matching the specified patterns.expandToIncludeDirectories(String includePattern) Expand the supplied include pattern into multiple patterns that include all parent directories for the ultimate resource or resources.includes(TypeReference reachableType, String... includes) Include resources matching the specified patterns.Include resources matching the specified patterns.
-
字段详细资料
-
includes
-
excludes
-
-
构造器详细资料
-
Builder
Builder()
-
-
方法详细资料
-
includes
public ResourcePatternHints.Builder includes(@Nullable TypeReference reachableType, String... includes) Include resources matching the specified patterns.- 参数:
reachableType- the type that should be reachable for this hint to applyincludes- the include patterns (seeResourcePatternHintdocumentation)- 返回:
this, to facilitate method chaining
-
expandToIncludeDirectories
Expand the supplied include pattern into multiple patterns that include all parent directories for the ultimate resource or resources.This is necessary to support classpath scanning within a GraalVM native image.
- 另请参阅:
-
includes
Include resources matching the specified patterns.- 参数:
includes- the include patterns (seeResourcePatternHintdocumentation)- 返回:
this, to facilitate method chaining
-
excludes
Exclude resources matching the specified patterns.- 参数:
reachableType- the type that should be reachable for this hint to applyexcludes- the exclude patterns (seeResourcePatternHintdocumentation)- 返回:
this, to facilitate method chaining
-
excludes
Exclude resources matching the specified patterns.- 参数:
excludes- the exclude patterns (seeResourcePatternHintdocumentation)- 返回:
this, to facilitate method chaining
-
build
ResourcePatternHints build()CreateResourcePatternHintsbased on the state of this builder.- 返回:
- resource pattern hints
-