enableAsciidocWrapper

Description

With the help of this configuration parameter toggle the maven plugin adds an asciidoc block statement around the plantuml content before it is written to the file. How the asciidoc block statement is written can be influenced by the configuration parameters

Default Value

The default value of this configuration parameter is false.

Example

In this example the toggle for the asciidoc wrapper is enabled:

			<plugin>
				<artifactId>@project.artifactId@</artifactId>
				<groupId>@project.groupId@</groupId>
				<version>@project.version@</version>
				<executions>
					<execution>
						<id>generate-simple-diagram</id>
						<goals>
							<goal>generateSequenceDiagram</goal>
						</goals>
						<phase>generate-test-sources</phase>
						<configuration>
							<outputFilename>testsequencediagram1.txt</outputFilename>
							<startClass>de.elnarion.maven.plugin.plantuml.generator.test.domain.ChildA</startClass>
							<startMethod>doSomethingSpecial</startMethod>
							<enableAsciidocWrapper>true</enableAsciidocWrapper>
						</configuration>
					</execution>
				</executions>
			</plugin>

which produces this PlantUML diagram text:

[plantuml,testsequencediagram1.txt.png,png]
----
@startuml

participant ChildA
participant ChildB
participant BaseAbstractClass

activate ChildA
	ChildA -> ChildB : getUtil
	activate ChildB
		ChildB --> ChildA
	deactivate ChildB
	ChildA -> BaseAbstractClass : doSomethingWithReturnValue
	activate BaseAbstractClass
		BaseAbstractClass --> ChildA
	deactivate BaseAbstractClass
	ChildA -> BaseAbstractClass : doSomethingWithParameter
	activate BaseAbstractClass
		BaseAbstractClass --> ChildA
	deactivate BaseAbstractClass
deactivate ChildA

@enduml

----