Class Asciidoctor
java.lang.Object
org.springframework.modulith.docs.Asciidoctor
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionrenderEvents
(ApplicationModule module) renderGeneralInclude
(String componentsFilename) renderHeadline
(int i, String modules) renderPlantUmlInclude
(String componentsFilename) renderSpringBeans
(ApplicationModule module, Documenter.CanvasOptions options) static String
static String
startTable
(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 Asciidoctor
withJavadocBase
(ApplicationModules modules, String javadocBase) Creates a newAsciidoctor
instance for the givenApplicationModules
and Javadoc base URI.static Asciidoctor
withoutJavadocBase
(ApplicationModules modules) Creates a newAsciidoctor
instance for the givenApplicationModules
.static String
writeTableRow
(String... columns)
-
Method Details
-
withJavadocBase
Creates a newAsciidoctor
instance for the givenApplicationModules
and Javadoc base URI.- Parameters:
modules
- must not be null.javadocBase
- can be null.- Returns:
- will never be null.
-
withoutJavadocBase
Creates a newAsciidoctor
instance 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(List<ConfigurationProperties.ModuleProperty> properties) -
typesToBulletPoints
-
toBulletPoint
-
startTable
-
startOrEndTable
-
writeTableRow
-
toAsciidoctor
-
renderBeanReferences
- Parameters:
module
-- Returns:
-
renderHeadline
-
renderPlantUmlInclude
-
renderGeneralInclude
-