|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.cargo.module.merge.strategy.MergeStrategy
org.codehaus.cargo.module.merge.strategy.AbstractChoiceMergeStrategy
org.codehaus.cargo.module.merge.strategy.ChooseByNameMergeStrategy
A merging strategy that is determined by name.
| Field Summary |
| Fields inherited from class org.codehaus.cargo.module.merge.strategy.MergeStrategy |
OVERWRITE, PRESERVE |
| Constructor Summary | |
ChooseByNameMergeStrategy(MergeStrategy defaultStrategy)
Constructor. |
|
| Method Summary | |
void |
addStrategyForName(java.lang.String name,
MergeStrategy strategy)
If the element has this name, then use this strategy. |
| Methods inherited from class org.codehaus.cargo.module.merge.strategy.AbstractChoiceMergeStrategy |
inBoth, inLeft, inRight |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChooseByNameMergeStrategy(MergeStrategy defaultStrategy)
defaultStrategy - in the default strategy to use| Method Detail |
public void addStrategyForName(java.lang.String name,
MergeStrategy strategy)
name - in the namestrategy - in the strategy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||