Package org.springframework.aot.hint
Class ResourcePatternHint.Builder
java.lang.Object
org.springframework.aot.hint.ResourcePatternHint.Builder
- Enclosing class:
- ResourcePatternHint
Builder for
ResourcePatternHint
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates aResourcePatternHint
based on the state of this builder.Exclude resources matching the specified pattern.Includes the resources matching the specified pattern.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
includes
Includes the resources matching the specified pattern.- Parameters:
includes
- the include patterns- Returns:
this
, to facilitate method chaining
-
excludes
Exclude resources matching the specified pattern.- Parameters:
excludes
- the excludes pattern- Returns:
this
, to facilitate method chaining
-
build
Creates aResourcePatternHint
based on the state of this builder.- Returns:
- a resource pattern hint
-