Package com.structurizr.model
Class InfrastructureNode
java.lang.Object
com.structurizr.model.ModelItem
com.structurizr.model.Element
com.structurizr.model.DeploymentElement
com.structurizr.model.InfrastructureNode
- All Implemented Interfaces:
PropertyHolder
Represents an infrastructure node, which is something like:
- Load balancer
- Firewall
- DNS service
- etc
-
Field Summary
Fields inherited from class com.structurizr.model.DeploymentElement
DEFAULT_DEPLOYMENT_ENVIRONMENT, DEFAULT_DEPLOYMENT_GROUP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setTechnology
(String technology) uses
(DeploymentElement destination, String description, String technology) Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).uses
(DeploymentElement destination, String description, String technology, InteractionStyle interactionStyle) Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).uses
(DeploymentElement destination, String description, String technology, InteractionStyle interactionStyle, String[] tags) Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).Methods inherited from class com.structurizr.model.DeploymentElement
getEnvironment, getParent
Methods inherited from class com.structurizr.model.Element
getDescription, getEfferentRelationshipsWith, getEfferentRelationshipWith, getEfferentRelationshipWith, getModel, getName, getRelationships, hasAfferentRelationships, hasEfferentRelationshipWith, hasEfferentRelationshipWith, setDescription, setModel, toString, uses, uses, uses
Methods inherited from class com.structurizr.model.ModelItem
addPerspective, addProperty, addTags, getId, getPerspectives, getProperties, getTags, getTagsAsSet, getUrl, hasTag, removeTag, setUrl
-
Constructor Details
-
InfrastructureNode
public InfrastructureNode()
-
-
Method Details
-
uses
Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).- Parameters:
destination
- the destination DeploymentElementdescription
- a short description of the relationshiptechnology
- the technology- Returns:
- a Relationship object
-
uses
public Relationship uses(DeploymentElement destination, String description, String technology, InteractionStyle interactionStyle) Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).- Parameters:
destination
- the destination DeploymentElementdescription
- a short description of the relationshiptechnology
- the technologyinteractionStyle
- the interaction style (Synchronous vs Asynchronous)- Returns:
- a Relationship object
-
uses
public Relationship uses(DeploymentElement destination, String description, String technology, InteractionStyle interactionStyle, String[] tags) Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).- Parameters:
destination
- the destination DeploymentElementdescription
- a short description of the relationshiptechnology
- the technologyinteractionStyle
- the interaction style (Synchronous vs Asynchronous)tags
- an array of tags- Returns:
- a Relationship object
-
getTechnology
-
setTechnology
-
getDefaultTags
- Specified by:
getDefaultTags
in classModelItem
-
getCanonicalName
- Specified by:
getCanonicalName
in classModelItem
-