Package com.structurizr.model
Class ContainerInstance
java.lang.Object
com.structurizr.model.ModelItem
com.structurizr.model.Element
com.structurizr.model.DeploymentElement
com.structurizr.model.StaticStructureElementInstance
com.structurizr.model.ContainerInstance
public final class ContainerInstance extends StaticStructureElementInstance
Represents a deployment instance of a
Container
, which can be added to a DeploymentNode
.-
Field Summary
Fields inherited from class com.structurizr.model.DeploymentElement
DEFAULT_DEPLOYMENT_ENVIRONMENT, DEFAULT_DEPLOYMENT_GROUP
-
Method Summary
Modifier and Type Method Description java.lang.String
getCanonicalName()
Container
getContainer()
java.lang.String
getContainerId()
Gets the ID of the container that this object represents a deployment instance of.StaticStructureElement
getElement()
Methods inherited from class com.structurizr.model.StaticStructureElementInstance
addHealthCheck, addHealthCheck, getDeploymentGroup, getHealthChecks, getInstanceId, getName, getRequiredTags, removeTag, setName, uses, uses, uses
Methods inherited from class com.structurizr.model.Element
getDescription, getEfferentRelationshipsWith, getEfferentRelationshipWith, getEfferentRelationshipWith, getModel, getRelationships, hasAfferentRelationships, hasEfferentRelationshipWith, hasEfferentRelationshipWith, setDescription, setModel, toString, uses, uses, uses
Methods inherited from class com.structurizr.model.ModelItem
addPerspective, addProperty, addTags, getId, getOriginId, getPerspectives, getProperties, getTags, getTagsAsSet, getUrl, hasTag, setUrl
-
Method Details
-
getContainer
-
getElement
- Specified by:
getElement
in classStaticStructureElementInstance
-
getContainerId
public java.lang.String getContainerId()Gets the ID of the container that this object represents a deployment instance of.- Returns:
- the container ID, as a String
-
getCanonicalName
public java.lang.String getCanonicalName()- Specified by:
getCanonicalName
in classModelItem
-