Class Asciidoctor
java.lang.Object
org.springframework.modulith.docs.Asciidoctor
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionrenderConfigurationProperties(ApplicationModule module, List<ConfigurationProperties.ModuleProperty> properties) renderEvents(ApplicationModule module) renderSpringBeans(ApplicationModule module, Documenter.CanvasOptions options) static Stringstatic StringstartTable(String tableSpec) toAsciidoctor(String source) toBulletPoint(String source) toInlineCode(com.tngtech.archunit.core.domain.JavaClass type) toInlineCode(String source) Turns the given source string into inline code.toInlineCode(SpringBean bean) typesToBulletPoints(List<com.tngtech.archunit.core.domain.JavaClass> types) static AsciidoctorwithJavadocBase(ApplicationModules modules, String javadocBase) Creates a newAsciidoctorinstance for the givenApplicationModulesand Javadoc base URI.static AsciidoctorwithoutJavadocBase(ApplicationModules modules) Creates a newAsciidoctorinstance for the givenApplicationModules.static StringwriteTableRow(String... columns)
-
Method Details
-
withJavadocBase
Creates a newAsciidoctorinstance for the givenApplicationModulesand Javadoc base URI.- Parameters:
modules- must not be null.javadocBase- can be null.- Returns:
- will never be null.
-
withoutJavadocBase
Creates a newAsciidoctorinstance for the givenApplicationModules.- Parameters:
modules- must not be null.- Returns:
- will never be null.
-
toInlineCode
Turns the given source string into inline code.- Parameters:
source- must not be null.- Returns:
-
toInlineCode
-
toInlineCode
-
renderSpringBeans
-
renderEvents
-
renderConfigurationProperties
public String renderConfigurationProperties(ApplicationModule module, List<ConfigurationProperties.ModuleProperty> properties) -
typesToBulletPoints
-
toBulletPoint
-
startTable
-
startOrEndTable
-
writeTableRow
-
toAsciidoctor
-
renderBeanReferences
- Parameters:
module-- Returns:
-