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
- All Implemented Interfaces:
PropertyHolder
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.StringgetCanonicalName()ContainergetContainer()java.lang.StringgetContainerId()Gets the ID of the container that this object represents a deployment instance of.StaticStructureElementgetElement()Methods inherited from class com.structurizr.model.StaticStructureElementInstance
addHealthCheck, addHealthCheck, getDefaultTags, getDeploymentGroups, getHealthChecks, getInstanceId, getName, removeTag, setName, uses, uses, usesMethods inherited from class com.structurizr.model.Element
getDescription, getEfferentRelationshipsWith, getEfferentRelationshipWith, getEfferentRelationshipWith, getModel, getRelationships, hasAfferentRelationships, hasEfferentRelationshipWith, hasEfferentRelationshipWith, setDescription, setModel, toString, uses, uses, usesMethods 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:
getElementin 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:
getCanonicalNamein classModelItem
-