public class Archive extends Object
| Modifier and Type | Field and Description |
|---|---|
private List<DependencySet> |
dependencySets |
private List<String> |
fileCombinationPatterns |
private List<FileItem> |
files |
private List<FileSet> |
fileSets |
private boolean |
includeClasses |
private Map<String,String> |
manifest |
private String |
outputFileName |
| Constructor and Description |
|---|
Archive() |
private String outputFileName
private List<DependencySet> dependencySets
private boolean includeClasses
public Archive addDependencySet(DependencySet dependencySet)
dependencySet - the set, must not be nullpublic Archive addFile(FileItem fileItem)
fileItem - the file, must not be nullpublic Archive addFileSet(FileSet fileSet)
fileSet - the set, must not be nullpublic List<DependencySet> getDependencySets()
public Archive removeDependencySet(DependencySet dependencySet)
dependencySet - the set to remove, must not be nullpublic Archive removeFile(FileItem fileItem)
fileItem - the file to remove, must not be nullpublic Archive removeFileSet(FileSet fileSet)
fileSet - the file to remove, must not be nullpublic Archive setDependencySets(List<DependencySet> dependencySets)
dependencySets - the set, must not be null or contain null elementpublic Archive setFileSets(List<FileSet> fileSets)
fileSets - the set, must not be null or contain null elementpublic Archive setFiles(List<FileItem> files)
files - the set, must not be null or contain null elementpublic String getOutputFileName()
public boolean isIncludeClasses()
public Archive setIncludeClasses(boolean includeClasses)
Copyright © 2018. All rights reserved.