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_SEQUENCE_DIAGRAM_PROPERTY, PLANTUML_TITLE_PROPERTYFields inherited from class com.structurizr.export.AbstractDiagramExporter
GROUP_SEPARATOR_PROPERTY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidendContainerBoundary(com.structurizr.view.ModelView view, IndentingWriter writer) protected voidendDeploymentNodeBoundary(com.structurizr.view.ModelView view, IndentingWriter writer) protected voidendEnterpriseBoundary(com.structurizr.view.ModelView view, IndentingWriter writer) protected voidendGroupBoundary(com.structurizr.view.ModelView view, IndentingWriter writer) protected voidendSoftwareSystemBoundary(com.structurizr.view.ModelView view, IndentingWriter writer) export(com.structurizr.view.CustomView view) protected booleanincludeLegend(com.structurizr.view.ModelView view) protected booleanincludeStereotypes(com.structurizr.view.ModelView view) protected booleanincludeTags(com.structurizr.view.ModelView view) protected booleanisAnimationSupported(com.structurizr.view.ModelView view) protected booleanrenderAsSequenceDiagram(com.structurizr.view.ModelView view) protected voidstartContainerBoundary(com.structurizr.view.ModelView 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.ModelView view, String enterpriseName, IndentingWriter writer) protected voidstartGroupBoundary(com.structurizr.view.ModelView view, String group, IndentingWriter writer) protected voidstartSoftwareSystemBoundary(com.structurizr.view.ModelView view, com.structurizr.model.SoftwareSystem softwareSystem, IndentingWriter writer) protected booleanusePlantUMLStandardLibrary(com.structurizr.view.ModelView view) protected voidwriteElement(com.structurizr.view.ModelView view, com.structurizr.model.Element element, IndentingWriter writer) protected voidwriteFooter(com.structurizr.view.ModelView view, IndentingWriter writer) protected voidwriteHeader(com.structurizr.view.ModelView view, IndentingWriter writer) protected voidwriteRelationship(com.structurizr.view.ModelView view, com.structurizr.view.RelationshipView relationshipView, IndentingWriter writer) Methods inherited from class com.structurizr.export.plantuml.AbstractPlantUMLExporter
addSkinParam, calculateIconScale, clearSkinParams, createDiagram, elementStyleHasSupportedIcon, getSkinParams, includeTitle, writeIncludes, writeSkinParamsMethods inherited from class com.structurizr.export.AbstractDiagramExporter
createLegend, 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_SPRITE
- See Also:
-
C4PLANTUML_SHADOW
- 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
-
-
Constructor Details
-
C4PlantUMLExporter
public C4PlantUMLExporter()
-
-
Method Details
-
writeHeader
- Overrides:
writeHeaderin classAbstractPlantUMLExporter
-
startEnterpriseBoundary
protected void startEnterpriseBoundary(com.structurizr.view.ModelView view, String enterpriseName, IndentingWriter writer) - Specified by:
startEnterpriseBoundaryin classAbstractDiagramExporter
-
endEnterpriseBoundary
- Specified by:
endEnterpriseBoundaryin classAbstractDiagramExporter
-
startGroupBoundary
protected void startGroupBoundary(com.structurizr.view.ModelView view, String group, IndentingWriter writer) - Specified by:
startGroupBoundaryin classAbstractDiagramExporter
-
endGroupBoundary
- Specified by:
endGroupBoundaryin classAbstractDiagramExporter
-
startSoftwareSystemBoundary
protected void startSoftwareSystemBoundary(com.structurizr.view.ModelView view, com.structurizr.model.SoftwareSystem softwareSystem, IndentingWriter writer) - Specified by:
startSoftwareSystemBoundaryin classAbstractDiagramExporter
-
endSoftwareSystemBoundary
protected void endSoftwareSystemBoundary(com.structurizr.view.ModelView view, IndentingWriter writer) - Specified by:
endSoftwareSystemBoundaryin classAbstractDiagramExporter
-
startContainerBoundary
protected void startContainerBoundary(com.structurizr.view.ModelView 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
protected void endDeploymentNodeBoundary(com.structurizr.view.ModelView view, IndentingWriter writer) - Specified by:
endDeploymentNodeBoundaryin classAbstractDiagramExporter
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
writeElement
protected void writeElement(com.structurizr.view.ModelView view, com.structurizr.model.Element element, IndentingWriter writer) - Specified by:
writeElementin classAbstractDiagramExporter
-
writeRelationship
protected void writeRelationship(com.structurizr.view.ModelView view, com.structurizr.view.RelationshipView relationshipView, IndentingWriter writer) - Specified by:
writeRelationshipin classAbstractDiagramExporter
-
isAnimationSupported
protected boolean isAnimationSupported(com.structurizr.view.ModelView view) - Overrides:
isAnimationSupportedin classAbstractPlantUMLExporter
-
includeLegend
protected boolean includeLegend(com.structurizr.view.ModelView view) -
includeStereotypes
protected boolean includeStereotypes(com.structurizr.view.ModelView view) -
includeTags
protected boolean includeTags(com.structurizr.view.ModelView view) -
usePlantUMLStandardLibrary
protected boolean usePlantUMLStandardLibrary(com.structurizr.view.ModelView view) -
renderAsSequenceDiagram
protected boolean renderAsSequenceDiagram(com.structurizr.view.ModelView view)
-