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
Constructors Constructor Description CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy()
-
Method Summary
Modifier and Type Method Description void
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
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
-