Class ResourcePatternHints.Builder
java.lang.Object
org.springframework.aot.hint.ResourcePatternHints.Builder
- Enclosing class:
ResourcePatternHints
Builder for
ResourcePatternHints.- Since:
- 6.0
- Author:
- Stephane Nicoll, Brian Clozel, Sam Brannen
-
Method Summary
Modifier and TypeMethodDescriptionInclude resources matching the specified glob patterns.includes(@Nullable TypeReference reachableType, String... includes) 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
-