Package com.structurizr.model
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createImpliedRelationships
(Relationship relationship) Called after a relationship has been created in the model, providing an opportunity to create any resulting implied relationships.Methods inherited from class com.structurizr.model.AbstractImpliedRelationshipsStrategy
createImpliedRelationship, impliedRelationshipIsAllowed
-
Constructor Details
-
CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy
public CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy()
-
-
Method Details
-
createImpliedRelationships
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
-