Examples of ConfigurationMetaData


Examples of org.springframework.boot.configurationprocessor.metadata.ConfigurationMetadata

      this.defaultValue = defaultValue;
    }

    @Override
    public boolean matches(Object item) {
      ConfigurationMetadata metadata = (ConfigurationMetadata) item;
      ItemMetadata itemMetadata = getFirstPropertyWithName(metadata, this.name);
      if (itemMetadata == null) {
        return false;
      }
      if (this.type != null && !this.type.equals(itemMetadata.getType())) {
View Full Code Here

Examples of org.springframework.boot.configurationprocessor.metadata.ConfigurationMetadata

      return true;
    }

    @Override
    public void describeMismatch(Object item, Description description) {
      ConfigurationMetadata metadata = (ConfigurationMetadata) item;
      ItemMetadata property = getFirstPropertyWithName(metadata, this.name);
      if (property == null) {
        description.appendText("missing property " + this.name);
      }
      else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.