duplicateComponentFound
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)
Called when a duplicate component is found.
- Specified by:
duplicateComponentFound
in interface DuplicateComponentStrategy
- Parameters:
component
- the existing Component object
name
- the new component name
type
- the new component type
description
- the new description
technology
- the new technology
- Returns:
- a Component instance, or null if a new component should not be created