Class CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy

java.lang.Object
com.structurizr.model.AbstractImpliedRelationshipsStrategy
com.structurizr.model.CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy
All Implemented Interfaces:
ImpliedRelationshipsStrategy

public class CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy extends AbstractImpliedRelationshipsStrategy
This strategy creates implied relationships between all valid combinations of the parent elements, unless the same relationship already exists between them.
  • Constructor Details

    • CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy

      public CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy()
  • Method Details

    • createImpliedRelationships

      public void createImpliedRelationships(Relationship relationship)
      Description copied from interface: ImpliedRelationshipsStrategy
      Called after a relationship has been created in the model, providing an opportunity to create any resulting implied relationships.
      Parameters:
      relationship - the newly created Relationship