AutoConfigurationMetadata Type — spring-boot Architecture
Architecture documentation for the AutoConfigurationMetadata type/interface in AutoConfigurationMetadata.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationMetadata.java lines 31–95
public interface AutoConfigurationMetadata {
/**
* Return {@code true} if the specified class name was processed by the annotation
* processor.
* @param className the source class
* @return if the class was processed
*/
boolean wasProcessed(String className);
/**
* Get an {@link Integer} value from the meta-data.
* @param className the source class
* @param key the meta-data key
* @return the meta-data value or {@code null}
*/
@Nullable Integer getInteger(String className, String key);
/**
* Get an {@link Integer} value from the meta-data.
* @param className the source class
* @param key the meta-data key
* @param defaultValue the default value
* @return the meta-data value or {@code defaultValue}
*/
@Contract("_, _, !null -> !null")
@Nullable Integer getInteger(String className, String key, @Nullable Integer defaultValue);
/**
* Get a {@link Set} value from the meta-data.
* @param className the source class
* @param key the meta-data key
* @return the meta-data value or {@code null}
*/
@Nullable Set<String> getSet(String className, String key);
/**
* Get a {@link Set} value from the meta-data.
* @param className the source class
* @param key the meta-data key
* @param defaultValue the default value
* @return the meta-data value or {@code defaultValue}
*/
@Contract("_, _, !null -> !null")
@Nullable Set<String> getSet(String className, String key, @Nullable Set<String> defaultValue);
/**
* Get an {@link String} value from the meta-data.
* @param className the source class
* @param key the meta-data key
* @return the meta-data value or {@code null}
*/
@Nullable String get(String className, String key);
/**
* Get an {@link String} value from the meta-data.
* @param className the source class
* @param key the meta-data key
* @param defaultValue the default value
* @return the meta-data value or {@code defaultValue}
*/
@Contract("_, _, !null -> !null")
@Nullable String get(String className, String key, @Nullable String defaultValue);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free