asciidocDiagramName

Description

With the help of this configuration option it is possible to change the image name which is used by the asciidoc plantuml extension if the enableAsciidocWrapper configuration option is enabled. Without enableAsciidocWrapper enabled this configuration option is without any use.

Default Value

The default value of this configuration option is the outputFilename .

Example

In this example the default image name which is used by the plantuml extension of asciidoc for the rendering is set to "supertestname":

			<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>
							<asciidocDiagramName>supertestname</asciidocDiagramName>							
							<enableAsciidocWrapper>true</enableAsciidocWrapper>
						</configuration>
					</execution>
				</executions>
			</plugin>

which produces this PlantUML diagram text:

[plantuml,supertestname,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

----