ThrowExceptionDuplicateComponentStrategy
public interface DuplicateComponentStrategy
Modifier and Type | Method | 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.
|
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)
component
- the existing Component objectname
- the new component nametype
- the new component typedescription
- the new descriptiontechnology
- the new technology