Class CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy

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

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

    • CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy

      public CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy()
  • 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