Class ArchiveResourceMerger
- java.lang.Object
-
- org.codehaus.cargo.module.webapp.merge.ArchiveResourceMerger
-
public class ArchiveResourceMerger extends Object
Class to store merging operations.
-
-
Constructor Summary
Constructors Constructor Description ArchiveResourceMerger(String resource, MergeProcessor next)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMergeItem(Object mergeItem)
Add an item into the merge.void
execute(File assembleDir)
Execute the merge into the assembly directory.
-
-
-
Constructor Detail
-
ArchiveResourceMerger
public ArchiveResourceMerger(String resource, MergeProcessor next)
Constructor.- Parameters:
resource
- name of the resource pathnext
- the processor
-
-
Method Detail
-
addMergeItem
public void addMergeItem(Object mergeItem) throws MergeException
Add an item into the merge.- Parameters:
mergeItem
- the item- Throws:
MergeException
- if a problem
-
execute
public void execute(File assembleDir) throws MergeException
Execute the merge into the assembly directory.- Parameters:
assembleDir
- the directory to save to- Throws:
MergeException
- if a problem
-
-