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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<ContainerDescriptorHandlerConfig>
Field containerDescriptorHandlers.private List<DependencySet>
Field dependencySets.Field files.Field fileSets.private String
Field modelEncoding.Field moduleSets.private List<Repository>
Field repositories. -
Constructor Summary
Constructors -
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.void
addRepository
(Repository repository) Method addRepository.Method getContainerDescriptorHandlers.Method getDependencySets.getFiles()
Method getFiles.Method getFileSets.Get the modelEncoding field.Method getModuleSets.Method getRepositories.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
removeRepository
(Repository repository) Method removeRepository.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.void
setRepositories
(List<Repository> repositories) Set specifies a set of repositories to include in the assembly.
-
Field Details
-
moduleSets
Field moduleSets. -
fileSets
Field fileSets. -
files
Field files. -
dependencySets
Field dependencySets. -
repositories
Field repositories. -
containerDescriptorHandlers
Field containerDescriptorHandlers. -
modelEncoding
Field modelEncoding.
-
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
addContainerDescriptorHandler
public void addContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig) Method addContainerDescriptorHandler.- Parameters:
containerDescriptorHandlerConfig
-
-
addDependencySet
Method addDependencySet.- Parameters:
dependencySet
-
-
addFile
Method addFile.- Parameters:
fileItem
-
-
addFileSet
Method addFileSet.- Parameters:
fileSet
-
-
addModuleSet
Method addModuleSet.- Parameters:
moduleSet
-
-
addRepository
Method addRepository.- Parameters:
repository
-
-
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
-
getRepositories
Method getRepositories.- Returns:
- List
-
removeContainerDescriptorHandler
public void removeContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig) Method removeContainerDescriptorHandler.- Parameters:
containerDescriptorHandlerConfig
-
-
removeDependencySet
Method removeDependencySet.- Parameters:
dependencySet
-
-
removeFile
Method removeFile.- Parameters:
fileItem
-
-
removeFileSet
Method removeFileSet.- Parameters:
fileSet
-
-
removeModuleSet
Method removeModuleSet.- Parameters:
moduleSet
-
-
removeRepository
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
Set specifies which dependencies to include in the assembly. A dependencySet is specified by providing one or more of <dependencySet> subelements.- Parameters:
dependencySets
-
-
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
-
-
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
-
-
setModelEncoding
Set the modelEncoding field.- Parameters:
modelEncoding
-
-
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
-
-
setRepositories
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
-
-