Package org.springframework.aot.hint
Class ResourcePatternHints.Builder
java.lang.Object
org.springframework.aot.hint.ResourcePatternHints.Builder
- Enclosing class:
- ResourcePatternHints
Builder for
ResourcePatternHints.-
Method Summary
Modifier and TypeMethodDescriptionincludes(@Nullable TypeReference reachableType, String... includes) Include resources matching the specified glob patterns.Include resources matching the specified glob patterns.
-
Method Details
-
includes
public ResourcePatternHints.Builder includes(@Nullable TypeReference reachableType, String... includes) Include resources matching the specified glob patterns.- Parameters:
reachableType- the type that should be reachable for this hint to applyincludes- the include patterns (seeResourcePatternHintdocumentation)- Returns:
this, to facilitate method chaining
-
includes
Include resources matching the specified glob patterns.- Parameters:
includes- the include patterns (seeResourcePatternHintdocumentation)- Returns:
this, to facilitate method chaining
-