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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContainerDescriptorHandler
(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig) Method addContainerDescriptorHandler.void
addDependencySet
(DependencySet dependencySet) Method addDependencySet.void
Method addFile.void
addFileSet
(FileSet fileSet) Method addFileSet.void
addModuleSet
(ModuleSet moduleSet) Method addModuleSet.Method getContainerDescriptorHandlers.Method getDependencySets.getFiles()
Method getFiles.Method getFileSets.Get the modelEncoding field.Method getModuleSets.void
removeContainerDescriptorHandler
(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig) Method removeContainerDescriptorHandler.void
removeDependencySet
(DependencySet dependencySet) Method removeDependencySet.void
removeFile
(FileItem fileItem) Method removeFile.void
removeFileSet
(FileSet fileSet) Method removeFileSet.void
removeModuleSet
(ModuleSet moduleSet) Method removeModuleSet.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.void
setDependencySets
(List<DependencySet> dependencySets) Set specifies which dependencies to include in the assembly.void
Set specifies which single files to include in the assembly.void
setFileSets
(List<FileSet> fileSets) Set specifies which groups of files to include in the assembly.void
setModelEncoding
(String modelEncoding) Set the modelEncoding field.void
setModuleSets
(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.
-