Class Component
java.lang.Object
org.apache.maven.plugins.assembly.model.Component
- All Implemented Interfaces:
Serializable
Describes the component layout and packaging.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig) Method addContainerDescriptorHandler.voidaddDependencySet(DependencySet dependencySet) Method addDependencySet.voidMethod addFile.voidaddFileSet(FileSet fileSet) Method addFileSet.voidaddModuleSet(ModuleSet moduleSet) Method addModuleSet.Method getContainerDescriptorHandlers.Method getDependencySets.getFiles()Method getFiles.Method getFileSets.Get the modelEncoding field.Method getModuleSets.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.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.voidSet 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.
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
addContainerDescriptorHandler
public void addContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig) Method addContainerDescriptorHandler.- Parameters:
containerDescriptorHandlerConfig- a containerDescriptorHandlerConfig object.
-
addDependencySet
Method addDependencySet.- Parameters:
dependencySet- a dependencySet object.
-
addFile
Method addFile.- Parameters:
fileItem- a fileItem object.
-
addFileSet
Method addFileSet.- Parameters:
fileSet- a fileSet object.
-
addModuleSet
Method addModuleSet.- Parameters:
moduleSet- a moduleSet object.
-
getContainerDescriptorHandlers
Method getContainerDescriptorHandlers.- Returns:
- List
-
getDependencySets
Method getDependencySets.- Returns:
- List
-
getFileSets
Method getFileSets.- Returns:
- List
-
getFiles
Method getFiles.- Returns:
- List
-
getModelEncoding
Get the modelEncoding field.- Returns:
- String
-
getModuleSets
Method getModuleSets.- Returns:
- List
-
removeContainerDescriptorHandler
public void removeContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig) Method removeContainerDescriptorHandler.- Parameters:
containerDescriptorHandlerConfig- a containerDescriptorHandlerConfig object.
-
removeDependencySet
Method removeDependencySet.- Parameters:
dependencySet- a dependencySet object.
-
removeFile
Method removeFile.- Parameters:
fileItem- a fileItem object.
-
removeFileSet
Method removeFileSet.- Parameters:
fileSet- a fileSet object.
-
removeModuleSet
Method removeModuleSet.- Parameters:
moduleSet- a moduleSet object.
-
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- a containerDescriptorHandlers object.
-
setDependencySets
Set specifies which dependencies to include in the assembly. A dependencySet is specified by providing one or more of <dependencySet> subelements.- Parameters:
dependencySets- a dependencySets object.
-
setFileSets
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- a fileSets object.
-
setFiles
Set specifies which single files to include in the assembly. A file is specified by providing one or more of <file> subelements.- Parameters:
files- a files object.
-
setModelEncoding
Set the modelEncoding field.- Parameters:
modelEncoding- a modelEncoding object.
-
setModuleSets
Set specifies which module files to include in the assembly. A moduleSet is specified by providing one or more of <moduleSet> subelements.- Parameters:
moduleSets- a moduleSets object.
-