Package com.structurizr.export.plantuml
Class C4PlantUMLExporter
java.lang.Object
com.structurizr.export.AbstractExporter
com.structurizr.export.AbstractDiagramExporter
com.structurizr.export.plantuml.AbstractPlantUMLExporter
com.structurizr.export.plantuml.C4PlantUMLExporter
- All Implemented Interfaces:
DiagramExporter,Exporter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSet this property totrueby callingConfiguration.addProperty(String, String)in yourViewSetin order to have allModelItem.getProperties()forComponents being printed in the PlantUML diagrams.static final Stringstatic final StringSet this property totrueby callingConfiguration.addProperty(String, String)in yourViewSetin order to have allModelItem.getProperties()forRelationships being printed in the PlantUML diagrams.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.structurizr.export.plantuml.AbstractPlantUMLExporter
PLANTUML_ANIMATION_PROPERTY, PLANTUML_INCLUDES_PROPERTY, PLANTUML_TITLE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidendContainerBoundary(com.structurizr.view.View view, IndentingWriter writer) protected voidendDeploymentNodeBoundary(com.structurizr.view.View view, IndentingWriter writer) protected voidendEnterpriseBoundary(com.structurizr.view.View view, IndentingWriter writer) protected voidendGroupBoundary(com.structurizr.view.View view, IndentingWriter writer) protected voidendSoftwareSystemBoundary(com.structurizr.view.View view, IndentingWriter writer) export(com.structurizr.view.CustomView view) protected booleanincludeLegend(com.structurizr.view.View view) protected booleanincludeStereotypes(com.structurizr.view.View view) protected booleanincludeTags(com.structurizr.view.View view) protected booleanisAnimationSupported(com.structurizr.view.View view) protected voidstartContainerBoundary(com.structurizr.view.View view, com.structurizr.model.Container container, IndentingWriter writer) protected voidstartDeploymentNodeBoundary(com.structurizr.view.DeploymentView view, com.structurizr.model.DeploymentNode deploymentNode, IndentingWriter writer) protected voidstartEnterpriseBoundary(com.structurizr.view.View view, String enterpriseName, IndentingWriter writer) protected voidstartGroupBoundary(com.structurizr.view.View view, String group, IndentingWriter writer) protected voidstartSoftwareSystemBoundary(com.structurizr.view.View view, com.structurizr.model.SoftwareSystem softwareSystem, IndentingWriter writer) protected booleanusePlantUMLStandardLibrary(com.structurizr.view.View view) protected voidwriteElement(com.structurizr.view.View view, com.structurizr.model.Element element, IndentingWriter writer) protected voidwriteFooter(com.structurizr.view.View view, IndentingWriter writer) protected voidwriteHeader(com.structurizr.view.View view, IndentingWriter writer) protected voidwriteRelationship(com.structurizr.view.View view, com.structurizr.view.RelationshipView relationshipView, IndentingWriter writer) Methods inherited from class com.structurizr.export.plantuml.AbstractPlantUMLExporter
addSkinParam, clearSkinParams, createDiagram, getSkinParams, includeTitle, writeIncludes, writeSkinParamsMethods inherited from class com.structurizr.export.AbstractDiagramExporter
createLegend, export, export, export, export, export, export, export, export, export, export, export, getBoundaryContainers, getBoundarySoftwareSystems, getViewOrViewSetProperty, isVisible, isVisible, writeElements, writeRelationshipsMethods inherited from class com.structurizr.export.AbstractExporter
breakText, findElementStyle, findRelationshipStyle, hasValue, typeOf, typeOf
-
Field Details
-
C4PLANTUML_LEGEND_PROPERTY
- See Also:
-
C4PLANTUML_STEREOTYPES_PROPERTY
- See Also:
-
C4PLANTUML_TAGS_PROPERTY
- See Also:
-
C4PLANTUML_STANDARD_LIBRARY_PROPERTY
- See Also:
-
C4PLANTUML_ELEMENT_PROPERTIES_PROPERTY
Set this property to
trueby callingConfiguration.addProperty(String, String)in yourViewSetin order to have allModelItem.getProperties()forComponents being printed in the PlantUML diagrams.The default value is
false.- See Also:
-
ViewSet.getConfiguration()Configuration.getProperties()- Constant Field Values
-
C4PLANTUML_RELATIONSHIP_PROPERTIES_PROPERTY
Set this property to
trueby callingConfiguration.addProperty(String, String)in yourViewSetin order to have allModelItem.getProperties()forRelationships being printed in the PlantUML diagrams.The default value is
false.- See Also:
-
ViewSet.getConfiguration()Configuration.getProperties()- Constant Field Values
-
C4PLANTUML_SPRITE
- See Also:
-
C4PLANTUML_SHADOW
- See Also:
-
-
Constructor Details
-
C4PlantUMLExporter
public C4PlantUMLExporter()
-
-
Method Details
-
writeHeader
- Overrides:
writeHeaderin classAbstractPlantUMLExporter
-
startEnterpriseBoundary
protected void startEnterpriseBoundary(com.structurizr.view.View view, String enterpriseName, IndentingWriter writer) - Specified by:
startEnterpriseBoundaryin classAbstractDiagramExporter
-
endEnterpriseBoundary
- Specified by:
endEnterpriseBoundaryin classAbstractDiagramExporter
-
startGroupBoundary
protected void startGroupBoundary(com.structurizr.view.View view, String group, IndentingWriter writer) - Specified by:
startGroupBoundaryin classAbstractDiagramExporter
-
endGroupBoundary
- Specified by:
endGroupBoundaryin classAbstractDiagramExporter
-
startSoftwareSystemBoundary
protected void startSoftwareSystemBoundary(com.structurizr.view.View view, com.structurizr.model.SoftwareSystem softwareSystem, IndentingWriter writer) - Specified by:
startSoftwareSystemBoundaryin classAbstractDiagramExporter
-
endSoftwareSystemBoundary
- Specified by:
endSoftwareSystemBoundaryin classAbstractDiagramExporter
-
startContainerBoundary
protected void startContainerBoundary(com.structurizr.view.View view, com.structurizr.model.Container container, IndentingWriter writer) - Specified by:
startContainerBoundaryin classAbstractDiagramExporter
-
endContainerBoundary
- Specified by:
endContainerBoundaryin classAbstractDiagramExporter
-
startDeploymentNodeBoundary
protected void startDeploymentNodeBoundary(com.structurizr.view.DeploymentView view, com.structurizr.model.DeploymentNode deploymentNode, IndentingWriter writer) - Specified by:
startDeploymentNodeBoundaryin classAbstractDiagramExporter
-
endDeploymentNodeBoundary
- Specified by:
endDeploymentNodeBoundaryin classAbstractDiagramExporter
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
writeElement
protected void writeElement(com.structurizr.view.View view, com.structurizr.model.Element element, IndentingWriter writer) - Specified by:
writeElementin classAbstractDiagramExporter
-
writeRelationship
protected void writeRelationship(com.structurizr.view.View view, com.structurizr.view.RelationshipView relationshipView, IndentingWriter writer) - Specified by:
writeRelationshipin classAbstractDiagramExporter
-
isAnimationSupported
protected boolean isAnimationSupported(com.structurizr.view.View view) - Overrides:
isAnimationSupportedin classAbstractPlantUMLExporter
-
includeLegend
protected boolean includeLegend(com.structurizr.view.View view) -
includeStereotypes
protected boolean includeStereotypes(com.structurizr.view.View view) -
includeTags
protected boolean includeTags(com.structurizr.view.View view) -
usePlantUMLStandardLibrary
protected boolean usePlantUMLStandardLibrary(com.structurizr.view.View view)
-