Class DeploymentElement

java.lang.Object
com.structurizr.model.ModelItem
com.structurizr.model.Element
com.structurizr.model.DeploymentElement
Direct Known Subclasses:
DeploymentNode, InfrastructureNode, StaticStructureElementInstance

public abstract class DeploymentElement
extends Element
This is the superclass for model elements that describe deployment nodes, infrastructure nodes, and container instances.
  • Method Details

    • getParent

      public final Element getParent()
      Gets the parent deployment node.
      Specified by:
      getParent in class Element
      Returns:
      the parent DeploymentNode, or null if there is no parent
    • getEnvironment

      public java.lang.String getEnvironment()