List of usage examples for org.springframework.boot.configurationprocessor.metadata ItemMetadata getType
public String getType()
From source file:com.keevosh.springframework.boot.netbeans.SpringBootConfigurationCompletionDocumentation.java
@Override public String getText() { ItemMetadata configurationItem = item.getConfigurationItem(); String deprecatedText = configurationItem.isDeprecated() ? ("<br/><br/><b>Deprecated</b>") : ""; String defaultValueText = (null != configurationItem.getDefaultValue()) ? ("<br/><i>Default Value:</i> " + String.valueOf(configurationItem.getDefaultValue())) : ""; String descriptionText = (null != configurationItem.getDescription()) ? ("<br/><br/>" + configurationItem.getDescription()) : ""; String text = "<b>" + configurationItem.getName() + "</b>" + "<br/><a>" + configurationItem.getType() + "</a>" + defaultValueText + deprecatedText + descriptionText; return text;/* ww w. j a v a2 s .c om*/ }