Package org.codehaus.cargo.module.merge
Interface MergeProcessor
-
- All Known Implementing Classes:
DocumentMerger
,DocumentMergerByXslt
,DocumentStreamAdapter
,WarArchiveMerger
public interface MergeProcessor
Interface implemented by merger classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addMergeItem(Object mergeItem)
Add an item to be merged.Object
performMerge()
Perform the merge.
-
-
-
Method Detail
-
addMergeItem
void addMergeItem(Object mergeItem) throws MergeException
Add an item to be merged.- Parameters:
mergeItem
- in the item to merge.- Throws:
MergeException
- on exceptions
-
performMerge
Object performMerge() throws MergeException
Perform the merge.- Returns:
- the merged artifact
- Throws:
MergeException
- if there is a problem
-
-