Class MergeWarFileDetails
- java.lang.Object
-
- org.codehaus.cargo.module.webapp.merge.MergeWarFileDetails
-
- All Implemented Interfaces:
FileFilter
public class MergeWarFileDetails extends Object implements FileFilter
Class to store the war file that is required for saving, together with any options such as lib files for filtering.
-
-
Constructor Summary
Constructors Constructor Description MergeWarFileDetails(WarArchive warArchive)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(File pathname)
void
addExclusionPattern(String pattern)
Add a file or library exclusion pattern.WarArchive
getWarFile()
-
-
-
Constructor Detail
-
MergeWarFileDetails
public MergeWarFileDetails(WarArchive warArchive)
Constructor.- Parameters:
warArchive
- War Archive to use
-
-
Method Detail
-
getWarFile
public WarArchive getWarFile()
- Returns:
- War Archive
-
addExclusionPattern
public void addExclusionPattern(String pattern)
Add a file or library exclusion pattern.- Parameters:
pattern
- Exclusion Pattern
-
accept
public boolean accept(File pathname)
- Specified by:
accept
in interfaceFileFilter
-
-