Class InfrastructureNode

All Implemented Interfaces:
PropertyHolder, Comparable<ModelItem>

public final class InfrastructureNode extends DeploymentElement

Represents an infrastructure node, which is something like:

  • Load balancer
  • Firewall
  • DNS service
  • etc
  • Constructor Details

    • InfrastructureNode

      public InfrastructureNode()
  • Method Details

    • uses

      public Relationship uses(DeploymentElement destination, String description, String technology)
      Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).
      Parameters:
      destination - the destination DeploymentElement
      description - a short description of the relationship
      technology - 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 DeploymentElement
      description - a short description of the relationship
      technology - the technology
      interactionStyle - 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 DeploymentElement
      description - a short description of the relationship
      technology - the technology
      interactionStyle - the interaction style (Synchronous vs Asynchronous)
      tags - an array of tags
      Returns:
      a Relationship object
    • getTechnology

      public String getTechnology()
    • setTechnology

      public void setTechnology(String technology)
    • getDefaultTags

      public Set<String> getDefaultTags()
      Specified by:
      getDefaultTags in class ModelItem
    • getCanonicalName

      public String getCanonicalName()
      Specified by:
      getCanonicalName in class ModelItem