Package org.springframework.aot.hint
Class ResourceBundleHint.Builder
java.lang.Object
org.springframework.aot.hint.ResourceBundleHint.Builder
- Enclosing class:
- ResourceBundleHint
Builder for
ResourceBundleHint
.-
Method Summary
Modifier and TypeMethodDescriptionUse the 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 the thebaseName
of the resource bundle.- Returns:
this
, to facilitate method chaining
-