接口 AutoConfigurationMetadata
public interface AutoConfigurationMetadata
Provides access to meta-data written by the auto-configure annotation processor.
- 从以下版本开始:
- 1.5.0
- 作者:
- Phillip Webb
-
方法概要
修饰符和类型方法说明Get anStringvalue from the meta-data.Get anStringvalue from the meta-data.getInteger(String className, String key) Get anIntegervalue from the meta-data.getInteger(String className, String key, Integer defaultValue) Get anIntegervalue from the meta-data.Get aSetvalue from the meta-data.Get aSetvalue from the meta-data.booleanwasProcessed(String className) Returntrueif the specified class name was processed by the annotation processor.
-
方法详细资料
-
wasProcessed
Returntrueif the specified class name was processed by the annotation processor.- 参数:
className- the source class- 返回:
- if the class was processed
-
getInteger
Get anIntegervalue from the meta-data.- 参数:
className- the source classkey- the meta-data key- 返回:
- the meta-data value or
null
-
getInteger
Get anIntegervalue from the meta-data.- 参数:
className- the source classkey- the meta-data keydefaultValue- the default value- 返回:
- the meta-data value or
defaultValue
-
getSet
Get aSetvalue from the meta-data.- 参数:
className- the source classkey- the meta-data key- 返回:
- the meta-data value or
null
-
getSet
Get aSetvalue from the meta-data.- 参数:
className- the source classkey- the meta-data keydefaultValue- the default value- 返回:
- the meta-data value or
defaultValue
-
get
Get anStringvalue from the meta-data.- 参数:
className- the source classkey- the meta-data key- 返回:
- the meta-data value or
null
-
get
Get anStringvalue from the meta-data.- 参数:
className- the source classkey- the meta-data keydefaultValue- the default value- 返回:
- the meta-data value or
defaultValue
-