org.codehaus.plexus.cdc.merge.support
public abstract class AbstractMergeableElement extends AbstractMergeableSupport
Version: $Id: AbstractMergeableElement.java 3522 2006-07-12 15:06:21Z brett $
| Constructor Summary | |
|---|---|
| AbstractMergeableElement(Element element) | |
| Method Summary | |
|---|---|
| protected boolean | isRecessiveElementInConflict(AbstractMergeableElement re, String eltName)
Detects if there was a conflict, that is the specified element was
present in both dominant and recessive element-sets.
|
| protected boolean | isRecessiveElementInConflict(AbstractMergeableElement re, List eltNameList)
Detects if there was a conflict, that is the specified element was
present in both dominant and recessive element-sets.
|
| void | merge(Mergeable me, MergeStrategy strategy)
Simply delegate to
|
| void | merge(Mergeable me) |
| protected boolean | mergeableElementComesFromRecessive(AbstractMergeableElement re, String eltName)
Determines if the Element to be merged is to be sourced from Recessive
Element set.
|
Deprecated: use isRecessiveElementInConflict instead.
Detects if there was a conflict, that is the specified element was present in both dominant and recessive element-sets. This delegates to isRecessiveElementInConflict.Parameters: re Recessive element. eltName Element name to test for.
Returns: true if there was a conflict of element.
<component> is keyed on
<role> and <role-hint>.
Parameters: re eltNameList List of elements that will be checked for values in both dominant and recessive sets.
Returns:
See Also: merge
Parameters: re Recessive element. eltName Element name to test for.
Returns: