Class Component
- java.lang.Object
-
- org.apache.maven.plugins.assembly.model.Component
-
- All Implemented Interfaces:
Serializable
public class Component extends Object implements Serializable
Describes the component layout and packaging.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Component()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)Method addContainerDescriptorHandler.voidaddDependencySet(DependencySet dependencySet)Method addDependencySet.voidaddFile(FileItem fileItem)Method addFile.voidaddFileSet(FileSet fileSet)Method addFileSet.voidaddModuleSet(ModuleSet moduleSet)Method addModuleSet.voidaddRepository(Repository repository)Method addRepository.List<ContainerDescriptorHandlerConfig>getContainerDescriptorHandlers()Method getContainerDescriptorHandlers.List<DependencySet>getDependencySets()Method getDependencySets.List<FileItem>getFiles()Method getFiles.List<FileSet>getFileSets()Method getFileSets.StringgetModelEncoding()Get the modelEncoding field.List<ModuleSet>getModuleSets()Method getModuleSets.List<Repository>getRepositories()Method getRepositories.voidremoveContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)Method removeContainerDescriptorHandler.voidremoveDependencySet(DependencySet dependencySet)Method removeDependencySet.voidremoveFile(FileItem fileItem)Method removeFile.voidremoveFileSet(FileSet fileSet)Method removeFileSet.voidremoveModuleSet(ModuleSet moduleSet)Method removeModuleSet.voidremoveRepository(Repository repository)Method removeRepository.voidsetContainerDescriptorHandlers(List<ContainerDescriptorHandlerConfig> containerDescriptorHandlers)Set set of components which filter various container descriptors out of the normal archive stream, so they can be aggregated then added.voidsetDependencySets(List<DependencySet> dependencySets)Set specifies which dependencies to include in the assembly.voidsetFiles(List<FileItem> files)Set specifies which single files to include in the assembly.voidsetFileSets(List<FileSet> fileSets)Set specifies which groups of files to include in the assembly.voidsetModelEncoding(String modelEncoding)Set the modelEncoding field.voidsetModuleSets(List<ModuleSet> moduleSets)Set specifies which module files to include in the assembly.voidsetRepositories(List<Repository> repositories)Set specifies a set of repositories to include in the assembly.
-
-
-
Method Detail
-
addContainerDescriptorHandler
public void addContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)
Method addContainerDescriptorHandler.- Parameters:
containerDescriptorHandlerConfig-
-
addDependencySet
public void addDependencySet(DependencySet dependencySet)
Method addDependencySet.- Parameters:
dependencySet-
-
addFile
public void addFile(FileItem fileItem)
Method addFile.- Parameters:
fileItem-
-
addFileSet
public void addFileSet(FileSet fileSet)
Method addFileSet.- Parameters:
fileSet-
-
addModuleSet
public void addModuleSet(ModuleSet moduleSet)
Method addModuleSet.- Parameters:
moduleSet-
-
addRepository
public void addRepository(Repository repository)
Method addRepository.- Parameters:
repository-
-
getContainerDescriptorHandlers
public List<ContainerDescriptorHandlerConfig> getContainerDescriptorHandlers()
Method getContainerDescriptorHandlers.- Returns:
- List
-
getDependencySets
public List<DependencySet> getDependencySets()
Method getDependencySets.- Returns:
- List
-
getModelEncoding
public String getModelEncoding()
Get the modelEncoding field.- Returns:
- String
-
getRepositories
public List<Repository> getRepositories()
Method getRepositories.- Returns:
- List
-
removeContainerDescriptorHandler
public void removeContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)
Method removeContainerDescriptorHandler.- Parameters:
containerDescriptorHandlerConfig-
-
removeDependencySet
public void removeDependencySet(DependencySet dependencySet)
Method removeDependencySet.- Parameters:
dependencySet-
-
removeFile
public void removeFile(FileItem fileItem)
Method removeFile.- Parameters:
fileItem-
-
removeFileSet
public void removeFileSet(FileSet fileSet)
Method removeFileSet.- Parameters:
fileSet-
-
removeModuleSet
public void removeModuleSet(ModuleSet moduleSet)
Method removeModuleSet.- Parameters:
moduleSet-
-
removeRepository
public void removeRepository(Repository repository)
Method removeRepository.- Parameters:
repository-
-
setContainerDescriptorHandlers
public void setContainerDescriptorHandlers(List<ContainerDescriptorHandlerConfig> containerDescriptorHandlers)
Set set of components which filter various container descriptors out of the normal archive stream, so they can be aggregated then added.- Parameters:
containerDescriptorHandlers-
-
setDependencySets
public void setDependencySets(List<DependencySet> dependencySets)
Set specifies which dependencies to include in the assembly. A dependencySet is specified by providing one or more of <dependencySet> subelements.- Parameters:
dependencySets-
-
setFileSets
public void setFileSets(List<FileSet> fileSets)
Set specifies which groups of files to include in the assembly. A fileSet is specified by providing one or more of <fileSet> subelements.- Parameters:
fileSets-
-
setFiles
public void setFiles(List<FileItem> files)
Set specifies which single files to include in the assembly. A file is specified by providing one or more of <file> subelements.- Parameters:
files-
-
setModelEncoding
public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.- Parameters:
modelEncoding-
-
setModuleSets
public void setModuleSets(List<ModuleSet> moduleSets)
Set specifies which module files to include in the assembly. A moduleSet is specified by providing one or more of <moduleSet> subelements.- Parameters:
moduleSets-
-
setRepositories
public void setRepositories(List<Repository> repositories)
Set specifies a set of repositories to include in the assembly. A repository is specified by providing one or more of <repository> subelements.- Parameters:
repositories-
-
-