Interface AutoConfigurationMetadata
public interface AutoConfigurationMetadata
Provides access to meta-data written by the auto-configure annotation processor.
- Since:
- 1.5.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
Get anString
value from the meta-data.@Nullable String
Get anString
value from the meta-data.@Nullable Integer
getInteger
(String className, String key) Get anInteger
value from the meta-data.@Nullable Integer
getInteger
(String className, String key, @Nullable Integer defaultValue) Get anInteger
value from the meta-data.Get aSet
value from the meta-data.Get aSet
value from the meta-data.boolean
wasProcessed
(String className) Returntrue
if the specified class name was processed by the annotation processor.
-
Method Details
-
wasProcessed
Returntrue
if the specified class name was processed by the annotation processor.- Parameters:
className
- the source class- Returns:
- if the class was processed
-
getInteger
-
getInteger
@Contract("_, _, !null -> !null") @Nullable Integer getInteger(String className, String key, @Nullable Integer defaultValue) Get anInteger
value from the meta-data.- Parameters:
className
- the source classkey
- the meta-data keydefaultValue
- the default value- Returns:
- the meta-data value or
defaultValue
-
getSet
-
getSet
@Contract("_, _, !null -> !null") @Nullable Set<String> getSet(String className, String key, @Nullable Set<String> defaultValue) Get aSet
value from the meta-data.- Parameters:
className
- the source classkey
- the meta-data keydefaultValue
- the default value- Returns:
- the meta-data value or
defaultValue
-
get
-
get
-