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 Details

    • wasProcessed

      boolean wasProcessed(String className)
      Return true if the specified class name was processed by the annotation processor.
      Parameters:
      className - the source class
      Returns:
      if the class was processed
    • getInteger

      @Nullable Integer getInteger(String className, String key)
      Get an Integer value from the meta-data.
      Parameters:
      className - the source class
      key - the meta-data key
      Returns:
      the meta-data value or null
    • getInteger

      @Contract("_, _, !null -> !null") @Nullable Integer getInteger(String className, String key, @Nullable Integer defaultValue)
      Get an Integer value from the meta-data.
      Parameters:
      className - the source class
      key - the meta-data key
      defaultValue - the default value
      Returns:
      the meta-data value or defaultValue
    • getSet

      @Nullable Set<String> getSet(String className, String key)
      Get a Set value from the meta-data.
      Parameters:
      className - the source class
      key - the meta-data key
      Returns:
      the meta-data value or null
    • getSet

      @Contract("_, _, !null -> !null") @Nullable Set<String> getSet(String className, String key, @Nullable Set<String> defaultValue)
      Get a Set value from the meta-data.
      Parameters:
      className - the source class
      key - the meta-data key
      defaultValue - the default value
      Returns:
      the meta-data value or defaultValue
    • get

      @Nullable String get(String className, String key)
      Get an String value from the meta-data.
      Parameters:
      className - the source class
      key - the meta-data key
      Returns:
      the meta-data value or null
    • get

      @Contract("_, _, !null -> !null") @Nullable String get(String className, String key, @Nullable String defaultValue)
      Get an String value from the meta-data.
      Parameters:
      className - the source class
      key - the meta-data key
      defaultValue - the default value
      Returns:
      the meta-data value or defaultValue