Package com.structurizr
Interface PropertyHolder
- All Known Implementing Classes:
AbstractStyle,AbstractWorkspace,Component,ComponentView,Configuration,Container,ContainerInstance,ContainerView,CustomElement,CustomView,DeploymentElement,DeploymentNode,DeploymentView,DynamicView,Element,ElementStyle,FilteredView,GroupableElement,ImageView,InfrastructureNode,Model,ModelItem,ModelView,Person,Relationship,RelationshipStyle,SoftwareSystem,SoftwareSystemInstance,StaticStructureElement,StaticStructureElementInstance,StaticView,SystemContextView,SystemLandscapeView,View,Workspace
public interface PropertyHolder
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String name, String value) Adds a name-value pair property to this workspace.Gets the collection of name-value property pairs associated with this workspace, as a Map.
-
Method Details
-
getProperties
Gets the collection of name-value property pairs associated with this workspace, as a Map.- Returns:
- a Map (String, String) (empty if there are no properties)
-
addProperty
Adds a name-value pair property to this workspace.- Parameters:
name- the name of the propertyvalue- the value of the property
-