Package org.springframework.aot.hint
Class ResourceBundleHint
java.lang.Object
org.springframework.aot.hint.ResourceBundleHint
- All Implemented Interfaces:
ConditionalHint
A hint that describes the need to access a
ResourceBundle.- Since:
- 6.0
- Author:
- Stephane Nicoll, Brian Clozel
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn thebaseNameof the resource bundle.Return the type that should be reachable for this hint to apply, ornullif this hint should always been applied.inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.aot.hint.ConditionalHint
conditionMatches
-
Method Details
-
getBaseName
Return thebaseNameof the resource bundle.- Returns:
- the base name
-
getReachableType
Description copied from interface:ConditionalHintReturn the type that should be reachable for this hint to apply, ornullif this hint should always been applied.- Specified by:
getReachableTypein interfaceConditionalHint- Returns:
- the reachable type, if any
-
equals
-
hashCode
public int hashCode()
-