类 AutoConfigurationMetadata

java.lang.Object
cn.taketoday.context.annotation.config.AutoConfigurationMetadata

public class AutoConfigurationMetadata extends Object
Provides access to meta-data written by the auto-configure annotation processor.
从以下版本开始:
4.0 2022/2/1 02:48
作者:
Phillip Webb, Harry Yang
  • 字段详细资料

  • 方法详细资料

    • wasProcessed

      public boolean wasProcessed(String className)
      Return true if the specified class name was processed by the annotation processor.
      参数:
      className - the source class
      返回:
      if the class was processed
    • getInteger

      public Integer getInteger(String className, String key)
      Get an Integer value from the meta-data.
      参数:
      className - the source class
      key - the meta-data key
      返回:
      the meta-data value or null
    • getInteger

      public Integer getInteger(String className, String key, Integer defaultValue)
      Get an Integer value from the meta-data.
      参数:
      className - the source class
      key - the meta-data key
      defaultValue - the default value
      返回:
      the meta-data value or defaultValue
    • getSet

      public Set<String> getSet(String className, String key)
      Get a Set value from the meta-data.
      参数:
      className - the source class
      key - the meta-data key
      返回:
      the meta-data value or null
    • getSet

      public Set<String> getSet(String className, String key, Set<String> defaultValue)
      Get a Set value from the meta-data.
      参数:
      className - the source class
      key - the meta-data key
      defaultValue - the default value
      返回:
      the meta-data value or defaultValue
    • get

      public String get(String className, String key)
      Get an String value from the meta-data.
      参数:
      className - the source class
      key - the meta-data key
      返回:
      the meta-data value or null
    • get

      public String get(String className, String key, String defaultValue)
      Get an String value from the meta-data.
      参数:
      className - the source class
      key - the meta-data key
      defaultValue - the default value
      返回:
      the meta-data value or defaultValue
    • load

      public static AutoConfigurationMetadata load(@Nullable ClassLoader classLoader)
    • load

      public static AutoConfigurationMetadata load(@Nullable ClassLoader classLoader, String path)
    • valueOf

      public static AutoConfigurationMetadata valueOf(Properties properties)