public class ChooseByNameMergeStrategy extends AbstractChoiceMergeStrategy
OVERWRITE, PRESERVE
Constructor and Description |
---|
ChooseByNameMergeStrategy(MergeStrategy defaultStrategy)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addStrategyForName(String name,
MergeStrategy strategy)
If the element has this name, then use this strategy.
|
inBoth, inLeft, inRight
public ChooseByNameMergeStrategy(MergeStrategy defaultStrategy)
defaultStrategy
- in the default strategy to usepublic void addStrategyForName(String name, MergeStrategy strategy)
name
- in the namestrategy
- in the strategyCopyright © 2004-2013 Codehaus. All Rights Reserved.