Class ItemMetadata
java.lang.Object
org.springframework.boot.configurationprocessor.metadata.ItemMetadata
- All Implemented Interfaces:
Comparable<ItemMetadata>
A group or property meta-data item from some
ConfigurationMetadata.- Since:
- 1.2.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetName()getType()inthashCode()booleanhasSameType(ItemMetadata metadata) booleanisOfItemType(ItemMetadata.ItemType itemType) static ItemMetadatastatic StringnewItemMetadataPrefix(String prefix, String suffix) static ItemMetadatanewProperty(String prefix, String name, String type, String sourceType, String sourceMethod, String description, Object defaultValue, ItemDeprecation deprecation) voidsetDefaultValue(Object defaultValue) voidsetDeprecation(ItemDeprecation deprecation) voidsetDescription(String description) voidvoidsetSourceMethod(String sourceMethod) voidsetSourceType(String sourceType) voidtoString()
-
Method Details
-
isOfItemType
-
hasSameType
-
getName
-
setName
-
getType
-
setType
-
getDescription
-
setDescription
-
getSourceType
-
setSourceType
-
getSourceMethod
-
setSourceMethod
-
getDefaultValue
-
setDefaultValue
-
getDeprecation
-
setDeprecation
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<ItemMetadata>
-
newGroup
public static ItemMetadata newGroup(String name, String type, String sourceType, String sourceMethod) -
newProperty
public static ItemMetadata newProperty(String prefix, String name, String type, String sourceType, String sourceMethod, String description, Object defaultValue, ItemDeprecation deprecation) -
newItemMetadataPrefix
-