public class IgnoreDuplicateComponentStrategy extends java.lang.Object implements DuplicateComponentStrategy
| Constructor and Description |
|---|
IgnoreDuplicateComponentStrategy() |
| Modifier and Type | Method and Description |
|---|---|
com.structurizr.model.Component |
duplicateComponentFound(com.structurizr.model.Component component,
java.lang.String name,
java.lang.String type,
java.lang.String description,
java.lang.String technology)
Called when a duplicate component is found.
|
public com.structurizr.model.Component duplicateComponentFound(com.structurizr.model.Component component,
java.lang.String name,
java.lang.String type,
java.lang.String description,
java.lang.String technology)
DuplicateComponentStrategyduplicateComponentFound in interface DuplicateComponentStrategycomponent - the existing Component objectname - the new component nametype - the new component typedescription - the new descriptiontechnology - the new technologynull means a new component should not be created