Class ConfigSection
java.lang.Object
io.quarkus.annotation.processor.documentation.config.model.AbstractConfigItem
io.quarkus.annotation.processor.documentation.config.model.ConfigSection
- All Implemented Interfaces:
ConfigItemCollection,Comparable<AbstractConfigItem>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.quarkus.annotation.processor.documentation.config.model.AbstractConfigItem
AbstractConfigItem.Path -
Field Summary
Fields inherited from class io.quarkus.annotation.processor.documentation.config.model.AbstractConfigItem
deprecation, path, sourceElementName, sourceElementType, sourceType, type -
Constructor Summary
ConstructorsConstructorDescriptionConfigSection(String sourceType, String sourceElementName, SourceElementType sourceElementType, ConfigSection.SectionPath path, String type, int level, boolean generated, Deprecation deprecation) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(AbstractConfigItem item) voidappendState(boolean generated, Deprecation deprecation) This is used when we merge ConfigSection at the ConfigRoot level.intgetItems()intgetLevel()getPath()booleanbooleanbooleanbooleanvoidmerge(ConfigSection other, Map<String, ConfigSection> existingConfigSections) This is used to merge ConfigRoot when generating the AsciiDoc output.protected voidwalk(ConfigItemVisitor visitor) Methods inherited from class io.quarkus.annotation.processor.documentation.config.model.AbstractConfigItem
getDeprecation, getPath$$bridge, getSourceElementName, getSourceElementType, getSourceType, getType, isDeprecatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.annotation.processor.documentation.config.model.ConfigItemCollection
getNonDeprecatedItems, getNonDeprecatedProperties, getNonDeprecatedSections, getProperties, getSections
-
Constructor Details
-
ConfigSection
public ConfigSection(String sourceType, String sourceElementName, SourceElementType sourceElementType, ConfigSection.SectionPath path, String type, int level, boolean generated, Deprecation deprecation)
-
-
Method Details
-
addItem
- Specified by:
addItemin interfaceConfigItemCollection
-
getItems
- Specified by:
getItemsin interfaceConfigItemCollection
-
compareTo
- Specified by:
compareToin interfaceComparable<AbstractConfigItem>
-
getPath
- Overrides:
getPathin classAbstractConfigItem
-
isSection
public boolean isSection()- Specified by:
isSectionin classAbstractConfigItem
-
isGenerated
public boolean isGenerated() -
getLevel
public int getLevel() -
appendState
This is used when we merge ConfigSection at the ConfigRoot level. It can happen when for instance a path is both used at a given level and in an unnamed map. For instance in: HibernateOrmConfig. -
merge
This is used to merge ConfigRoot when generating the AsciiDoc output. -
hasDurationType
public boolean hasDurationType()- Specified by:
hasDurationTypein interfaceConfigItemCollection- Specified by:
hasDurationTypein classAbstractConfigItem
-
hasMemorySizeType
public boolean hasMemorySizeType()- Specified by:
hasMemorySizeTypein interfaceConfigItemCollection- Specified by:
hasMemorySizeTypein classAbstractConfigItem
-
walk
- Specified by:
walkin classAbstractConfigItem
-