Package com.structurizr
Interface PropertyHolder
- All Known Implementing Classes:
AbstractStyle
,AbstractWorkspace
,Component
,Configuration
,Container
,ContainerInstance
,CustomElement
,DeploymentElement
,DeploymentNode
,Element
,ElementStyle
,GroupableElement
,InfrastructureNode
,ModelItem
,Person
,Relationship
,RelationshipStyle
,SoftwareSystem
,SoftwareSystemInstance
,StaticStructureElement
,StaticStructureElementInstance
,Workspace
public interface PropertyHolder
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(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
-