Class ResourceBundleHint.Builder
java.lang.Object
org.springframework.aot.hint.ResourceBundleHint.Builder
- Enclosing class:
ResourceBundleHint
Builder for
ResourceBundleHint
.- Since:
- 6.0
- Author:
- Stephane Nicoll, Brian Clozel
-
Method Summary
Modifier and TypeMethodDescriptionUse thebaseName
of the resource bundle.onReachableType
(TypeReference reachableType) Make this hint conditional on the fact that the specified type can be resolved.
-
Method Details
-
onReachableType
Make this hint conditional on the fact that the specified type can be resolved.- Parameters:
reachableType
- the type that should be reachable for this hint to apply- Returns:
this
, to facilitate method chaining
-
baseName
Use thebaseName
of the resource bundle.- Returns:
this
, to facilitate method chaining
-