org.apache.maven.plugins.assembly.model.Component Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-assembly-plugin Show documentation
Show all versions of maven-assembly-plugin Show documentation
A Maven plugin to create archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors.
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.0.0,
// any modifications will be overwritten.
// ==============================================================
package org.apache.maven.plugins.assembly.model;
/**
* Describes the component layout and packaging.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class Component
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field moduleSets.
*/
private java.util.List moduleSets;
/**
* Field fileSets.
*/
private java.util.List fileSets;
/**
* Field files.
*/
private java.util.List files;
/**
* Field dependencySets.
*/
private java.util.List dependencySets;
/**
* Field repositories.
*/
private java.util.List repositories;
/**
* Field containerDescriptorHandlers.
*/
private java.util.List containerDescriptorHandlers;
/**
* Field modelEncoding.
*/
private String modelEncoding = "UTF-8";
//-----------/
//- Methods -/
//-----------/
/**
* Method addContainerDescriptorHandler.
*
* @param containerDescriptorHandlerConfig a
* containerDescriptorHandlerConfig object.
*/
public void addContainerDescriptorHandler( ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig )
{
getContainerDescriptorHandlers().add( containerDescriptorHandlerConfig );
} //-- void addContainerDescriptorHandler( ContainerDescriptorHandlerConfig )
/**
* Method addDependencySet.
*
* @param dependencySet a dependencySet object.
*/
public void addDependencySet( DependencySet dependencySet )
{
getDependencySets().add( dependencySet );
} //-- void addDependencySet( DependencySet )
/**
* Method addFile.
*
* @param fileItem a fileItem object.
*/
public void addFile( FileItem fileItem )
{
getFiles().add( fileItem );
} //-- void addFile( FileItem )
/**
* Method addFileSet.
*
* @param fileSet a fileSet object.
*/
public void addFileSet( FileSet fileSet )
{
getFileSets().add( fileSet );
} //-- void addFileSet( FileSet )
/**
* Method addModuleSet.
*
* @param moduleSet a moduleSet object.
*/
public void addModuleSet( ModuleSet moduleSet )
{
getModuleSets().add( moduleSet );
} //-- void addModuleSet( ModuleSet )
/**
* Method addRepository.
*
* @param repository a repository object.
*/
public void addRepository( Repository repository )
{
getRepositories().add( repository );
} //-- void addRepository( Repository )
/**
* Method getContainerDescriptorHandlers.
*
* @return List
*/
public java.util.List getContainerDescriptorHandlers()
{
if ( this.containerDescriptorHandlers == null )
{
this.containerDescriptorHandlers = new java.util.ArrayList();
}
return this.containerDescriptorHandlers;
} //-- java.util.List getContainerDescriptorHandlers()
/**
* Method getDependencySets.
*
* @return List
*/
public java.util.List getDependencySets()
{
if ( this.dependencySets == null )
{
this.dependencySets = new java.util.ArrayList();
}
return this.dependencySets;
} //-- java.util.List getDependencySets()
/**
* Method getFileSets.
*
* @return List
*/
public java.util.List getFileSets()
{
if ( this.fileSets == null )
{
this.fileSets = new java.util.ArrayList();
}
return this.fileSets;
} //-- java.util.List getFileSets()
/**
* Method getFiles.
*
* @return List
*/
public java.util.List getFiles()
{
if ( this.files == null )
{
this.files = new java.util.ArrayList();
}
return this.files;
} //-- java.util.List getFiles()
/**
* Get the modelEncoding field.
*
* @return String
*/
public String getModelEncoding()
{
return this.modelEncoding;
} //-- String getModelEncoding()
/**
* Method getModuleSets.
*
* @return List
*/
public java.util.List getModuleSets()
{
if ( this.moduleSets == null )
{
this.moduleSets = new java.util.ArrayList();
}
return this.moduleSets;
} //-- java.util.List getModuleSets()
/**
* Method getRepositories.
*
* @return List
*/
public java.util.List getRepositories()
{
if ( this.repositories == null )
{
this.repositories = new java.util.ArrayList();
}
return this.repositories;
} //-- java.util.List getRepositories()
/**
* Method removeContainerDescriptorHandler.
*
* @param containerDescriptorHandlerConfig a
* containerDescriptorHandlerConfig object.
*/
public void removeContainerDescriptorHandler( ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig )
{
getContainerDescriptorHandlers().remove( containerDescriptorHandlerConfig );
} //-- void removeContainerDescriptorHandler( ContainerDescriptorHandlerConfig )
/**
* Method removeDependencySet.
*
* @param dependencySet a dependencySet object.
*/
public void removeDependencySet( DependencySet dependencySet )
{
getDependencySets().remove( dependencySet );
} //-- void removeDependencySet( DependencySet )
/**
* Method removeFile.
*
* @param fileItem a fileItem object.
*/
public void removeFile( FileItem fileItem )
{
getFiles().remove( fileItem );
} //-- void removeFile( FileItem )
/**
* Method removeFileSet.
*
* @param fileSet a fileSet object.
*/
public void removeFileSet( FileSet fileSet )
{
getFileSets().remove( fileSet );
} //-- void removeFileSet( FileSet )
/**
* Method removeModuleSet.
*
* @param moduleSet a moduleSet object.
*/
public void removeModuleSet( ModuleSet moduleSet )
{
getModuleSets().remove( moduleSet );
} //-- void removeModuleSet( ModuleSet )
/**
* Method removeRepository.
*
* @param repository a repository object.
*/
public void removeRepository( Repository repository )
{
getRepositories().remove( repository );
} //-- void removeRepository( Repository )
/**
* Set set of components which filter various container
* descriptors out of
* the normal archive stream, so they can be
* aggregated then added.
*
* @param containerDescriptorHandlers a
* containerDescriptorHandlers object.
*/
public void setContainerDescriptorHandlers( java.util.List containerDescriptorHandlers )
{
this.containerDescriptorHandlers = containerDescriptorHandlers;
} //-- void setContainerDescriptorHandlers( java.util.List )
/**
* Set specifies which dependencies to include in the assembly.
* A
* dependencySet is specified by providing one or
* more of
* <dependencySet> subelements.
*
* @param dependencySets a dependencySets object.
*/
public void setDependencySets( java.util.List dependencySets )
{
this.dependencySets = dependencySets;
} //-- void setDependencySets( java.util.List )
/**
* Set specifies which groups of files to include in the
* assembly. A
* fileSet is specified by providing one or more of
* <fileSet>
* subelements.
*
* @param fileSets a fileSets object.
*/
public void setFileSets( java.util.List fileSets )
{
this.fileSets = fileSets;
} //-- void setFileSets( java.util.List )
/**
* Set specifies which single files to include in the assembly.
* A file
* is specified by providing one or more of
* <file>
* subelements.
*
* @param files a files object.
*/
public void setFiles( java.util.List files )
{
this.files = files;
} //-- void setFiles( java.util.List )
/**
* Set the modelEncoding field.
*
* @param modelEncoding a modelEncoding object.
*/
public void setModelEncoding( String modelEncoding )
{
this.modelEncoding = modelEncoding;
} //-- void setModelEncoding( String )
/**
* Set specifies which module files to include in the assembly.
* A moduleSet
* is specified by providing one or more of
* <moduleSet>
* subelements.
*
* @param moduleSets a moduleSets object.
*/
public void setModuleSets( java.util.List moduleSets )
{
this.moduleSets = moduleSets;
} //-- void setModuleSets( java.util.List )
/**
* Set Deprecated since model version 2.1.1.
* Specifies a set of repositories to include in
* the assembly. A
* repository is specified by providing one or more
* of
* <repository> subelements.
*
* @param repositories a repositories object.
*/
public void setRepositories( java.util.List repositories )
{
this.repositories = repositories;
} //-- void setRepositories( java.util.List )
}