|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.assembly.model.Assembly
public class Assembly
An assembly defines a collection of files usually distributed in an archive format such as zip, tar, or tar.gz that is generated from a project. For example, a project could produce a ZIP assembly which contains a project's JAR artifact in the root directory, the runtime dependencies in a lib/ directory, and a shell script to launch a stand-alone application.
Constructor Summary | |
---|---|
Assembly()
|
Method Summary | |
---|---|
void |
addComponentDescriptor(String string)
Method addComponentDescriptor. |
void |
addContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)
Method addContainerDescriptorHandler. |
void |
addDependencySet(DependencySet dependencySet)
Method addDependencySet. |
void |
addFile(FileItem fileItem)
Method addFile. |
void |
addFileSet(FileSet fileSet)
Method addFileSet. |
void |
addFormat(String string)
Method addFormat. |
void |
addModuleSet(ModuleSet moduleSet)
Method addModuleSet. |
void |
addRepository(Repository repository)
Method addRepository. |
String |
getBaseDirectory()
Get sets the base directory of the resulting assembly archive. |
List<String> |
getComponentDescriptors()
Method getComponentDescriptors. |
List<ContainerDescriptorHandlerConfig> |
getContainerDescriptorHandlers()
Method getContainerDescriptorHandlers. |
List<DependencySet> |
getDependencySets()
Method getDependencySets. |
List<FileItem> |
getFiles()
Method getFiles. |
List<FileSet> |
getFileSets()
Method getFileSets. |
List<String> |
getFormats()
Method getFormats. |
String |
getId()
Get sets the id of this assembly. |
String |
getModelEncoding()
Get the modelEncoding field. |
List<ModuleSet> |
getModuleSets()
Method getModuleSets. |
List<Repository> |
getRepositories()
Method getRepositories. |
boolean |
isIncludeBaseDirectory()
Get includes a base directory in the final archive. |
boolean |
isIncludeSiteDirectory()
Get includes a site directory in the final archive. |
void |
removeComponentDescriptor(String string)
Method removeComponentDescriptor. |
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 |
removeFormat(String string)
Method removeFormat. |
void |
removeModuleSet(ModuleSet moduleSet)
Method removeModuleSet. |
void |
removeRepository(Repository repository)
Method removeRepository. |
void |
setBaseDirectory(String baseDirectory)
Set sets the base directory of the resulting assembly archive. |
void |
setComponentDescriptors(List<String> componentDescriptors)
Set specifies the shared components xml file locations to include in the assembly. |
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 |
setFiles(List<FileItem> files)
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 |
setFormats(List<String> formats)
Set specifies the formats of the assembly. |
void |
setId(String id)
Set sets the id of this assembly. |
void |
setIncludeBaseDirectory(boolean includeBaseDirectory)
Set includes a base directory in the final archive. |
void |
setIncludeSiteDirectory(boolean includeSiteDirectory)
Set includes a site directory in the final archive. |
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 which repository files to include in the assembly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Assembly()
Method Detail |
---|
public void addComponentDescriptor(String string)
string
- public void addContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)
containerDescriptorHandlerConfig
- public void addDependencySet(DependencySet dependencySet)
dependencySet
- public void addFile(FileItem fileItem)
fileItem
- public void addFileSet(FileSet fileSet)
fileSet
- public void addFormat(String string)
string
- public void addModuleSet(ModuleSet moduleSet)
moduleSet
- public void addRepository(Repository repository)
repository
- public String getBaseDirectory()
public List<String> getComponentDescriptors()
public List<ContainerDescriptorHandlerConfig> getContainerDescriptorHandlers()
public List<DependencySet> getDependencySets()
public List<FileSet> getFileSets()
public List<FileItem> getFiles()
public List<String> getFormats()
public String getId()
public String getModelEncoding()
public List<ModuleSet> getModuleSets()
public List<Repository> getRepositories()
public boolean isIncludeBaseDirectory()
public boolean isIncludeSiteDirectory()
public void removeComponentDescriptor(String string)
string
- public void removeContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)
containerDescriptorHandlerConfig
- public void removeDependencySet(DependencySet dependencySet)
dependencySet
- public void removeFile(FileItem fileItem)
fileItem
- public void removeFileSet(FileSet fileSet)
fileSet
- public void removeFormat(String string)
string
- public void removeModuleSet(ModuleSet moduleSet)
moduleSet
- public void removeRepository(Repository repository)
repository
- public void setBaseDirectory(String baseDirectory)
baseDirectory
- public void setComponentDescriptors(List<String> componentDescriptors)
componentDescriptors
- public void setContainerDescriptorHandlers(List<ContainerDescriptorHandlerConfig> containerDescriptorHandlers)
containerDescriptorHandlers
- public void setDependencySets(List<DependencySet> dependencySets)
dependencySets
- public void setFileSets(List<FileSet> fileSets)
fileSets
- public void setFiles(List<FileItem> files)
files
- public void setFormats(List<String> formats)
formats
- public void setId(String id)
id
- public void setIncludeBaseDirectory(boolean includeBaseDirectory)
includeBaseDirectory
- public void setIncludeSiteDirectory(boolean includeSiteDirectory)
includeSiteDirectory
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setModuleSets(List<ModuleSet> moduleSets)
moduleSets
- public void setRepositories(List<Repository> repositories)
repositories
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |