List of usage examples for org.springframework.boot.configurationmetadata Deprecation getLevel
public Level getLevel()
From source file:com.github.alexfalappa.nbspringboot.Utils.java
public static boolean isErrorDeprecated(ConfigurationMetadataProperty meta) { Deprecation depr = meta.getDeprecation(); return depr != null && depr.getLevel() != null && depr.getLevel().equals(Deprecation.Level.ERROR); }