Interface AutoConfigurationMetadata
public interface AutoConfigurationMetadata
Provides access to meta-data written by the auto-configure annotation processor.- Since:
- 1.5.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringget(String className, String key)Get anStringvalue from the meta-data.Stringget(String className, String key, String defaultValue)Get anStringvalue from the meta-data.IntegergetInteger(String className, String key)Get anIntegervalue from the meta-data.IntegergetInteger(String className, String key, Integer defaultValue)Get anIntegervalue from the meta-data.Set<String>getSet(String className, String key)Get aSetvalue from the meta-data.Set<String>getSet(String className, String key, Set<String> defaultValue)Get aSetvalue from the meta-data.booleanwasProcessed(String className)Returntrueif the specified class name was processed by the annotation processor.
Method Detail
wasProcessed
boolean wasProcessed(String className)
Returntrueif the specified class name was processed by the annotation processor.- Parameters:
className- the source class- Returns:
- if the class was processed
getInteger
Integer getInteger(String className, String key)
Get anIntegervalue from the meta-data.- Parameters:
className- the source classkey- the meta-data key- Returns:
- the meta-data value or
null
getInteger
Integer getInteger(String className, String key, Integer defaultValue)
Get anIntegervalue from the meta-data.- Parameters:
className- the source classkey- the meta-data keydefaultValue- the default value- Returns:
- the meta-data value or
defaultValue
getSet
Set<String> getSet(String className, String key)
Get aSetvalue from the meta-data.- Parameters:
className- the source classkey- the meta-data key- Returns:
- the meta-data value or
null
getSet
Set<String> getSet(String className, String key, Set<String> defaultValue)
Get aSetvalue from the meta-data.- Parameters:
className- the source classkey- the meta-data keydefaultValue- the default value- Returns:
- the meta-data value or
defaultValue
get
String get(String className, String key)
Get anStringvalue from the meta-data.- Parameters:
className- the source classkey- the meta-data key- Returns:
- the meta-data value or
null