Class MergeStrategies
- java.lang.Object
-
- org.codehaus.plexus.metadata.merge.support.MergeStrategies
-
public class MergeStrategies extends Object
Collection of available Merge Strategies.TODO: Revisit and factor
Mergeable.merge(Mergeable)to use aMergeStrategy.- Author:
- Rahul Thakur
-
-
Field Summary
Fields Modifier and Type Field Description static MergeStrategyDEEPMergeStrategyimplementation wherein the elements are merged down to the deepest availableMergeableinstance in the DOM tree.static MergeStrategySHALLOWMergeStrategyimplementation wherein only the element on which the merge operation is called is 'merged'.
-
Constructor Summary
Constructors Constructor Description MergeStrategies()
-
-
-
Field Detail
-
DEEP
public static final MergeStrategy DEEP
MergeStrategyimplementation wherein the elements are merged down to the deepest availableMergeableinstance in the DOM tree.
-
SHALLOW
public static final MergeStrategy SHALLOW
MergeStrategyimplementation wherein only the element on which the merge operation is called is 'merged'. The merge does not traverse the DOM tree any further.
-
-