public class Assembly
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
baseDirectory
Sets the base directory of the resulting
assembly archive.
|
private java.util.List<java.lang.String> |
componentDescriptors
Field componentDescriptors.
|
private java.util.List<ContainerDescriptorHandlerConfig> |
containerDescriptorHandlers
Field containerDescriptorHandlers.
|
private java.util.List<DependencySet> |
dependencySets
Field dependencySets.
|
private java.util.List<FileItem> |
files
Field files.
|
private java.util.List<FileSet> |
fileSets
Field fileSets.
|
private java.util.List<java.lang.String> |
formats
Field formats.
|
private java.lang.String |
id
Sets the id of this assembly.
|
private boolean |
includeBaseDirectory
Includes a base directory in the final archive.
|
private boolean |
includeSiteDirectory
Includes a site directory in the final archive.
|
private java.lang.String |
modelEncoding
Field modelEncoding.
|
private java.util.List<ModuleSet> |
moduleSets
Field moduleSets.
|
private java.util.List<Repository> |
repositories
Field repositories.
|
Constructor and Description |
---|
Assembly() |
Modifier and Type | Method and Description |
---|---|
void |
addComponentDescriptor(java.lang.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(java.lang.String string)
Method addFormat.
|
void |
addModuleSet(ModuleSet moduleSet)
Method addModuleSet.
|
void |
addRepository(Repository repository)
Method addRepository.
|
java.lang.String |
getBaseDirectory()
Get sets the base directory of the resulting assembly
archive.
|
java.util.List<java.lang.String> |
getComponentDescriptors()
Method getComponentDescriptors.
|
java.util.List<ContainerDescriptorHandlerConfig> |
getContainerDescriptorHandlers()
Method getContainerDescriptorHandlers.
|
java.util.List<DependencySet> |
getDependencySets()
Method getDependencySets.
|
java.util.List<FileItem> |
getFiles()
Method getFiles.
|
java.util.List<FileSet> |
getFileSets()
Method getFileSets.
|
java.util.List<java.lang.String> |
getFormats()
Method getFormats.
|
java.lang.String |
getId()
Get sets the id of this assembly.
|
java.lang.String |
getModelEncoding()
Get the modelEncoding field.
|
java.util.List<ModuleSet> |
getModuleSets()
Method getModuleSets.
|
java.util.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(java.lang.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(java.lang.String string)
Method removeFormat.
|
void |
removeModuleSet(ModuleSet moduleSet)
Method removeModuleSet.
|
void |
removeRepository(Repository repository)
Method removeRepository.
|
void |
setBaseDirectory(java.lang.String baseDirectory)
Set sets the base directory of the resulting assembly
archive.
|
void |
setComponentDescriptors(java.util.List<java.lang.String> componentDescriptors)
Set specifies the shared components xml file locations to
include in the
assembly.
|
void |
setContainerDescriptorHandlers(java.util.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(java.util.List<DependencySet> dependencySets)
Set specifies which dependencies to include in the assembly.
|
void |
setFiles(java.util.List<FileItem> files)
Set specifies which single files to include in the assembly.
|
void |
setFileSets(java.util.List<FileSet> fileSets)
Set specifies which groups of files to include in the
assembly.
|
void |
setFormats(java.util.List<java.lang.String> formats)
Set specifies the formats of the assembly.
|
void |
setId(java.lang.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(java.lang.String modelEncoding)
Set the modelEncoding field.
|
void |
setModuleSets(java.util.List<ModuleSet> moduleSets)
Set specifies which module files to include in the assembly.
|
void |
setRepositories(java.util.List<Repository> repositories)
Set specifies which repository files to include in the
assembly.
|
private java.lang.String id
private java.util.List<java.lang.String> formats
private boolean includeBaseDirectory
private java.lang.String baseDirectory
private boolean includeSiteDirectory
private java.util.List<ContainerDescriptorHandlerConfig> containerDescriptorHandlers
private java.util.List<ModuleSet> moduleSets
private java.util.List<FileSet> fileSets
private java.util.List<FileItem> files
private java.util.List<DependencySet> dependencySets
private java.util.List<Repository> repositories
private java.util.List<java.lang.String> componentDescriptors
private java.lang.String modelEncoding
public void addComponentDescriptor(java.lang.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(java.lang.String string)
string
- public void addModuleSet(ModuleSet moduleSet)
moduleSet
- public void addRepository(Repository repository)
repository
- public java.lang.String getBaseDirectory()
public java.util.List<java.lang.String> getComponentDescriptors()
public java.util.List<ContainerDescriptorHandlerConfig> getContainerDescriptorHandlers()
public java.util.List<DependencySet> getDependencySets()
public java.util.List<FileSet> getFileSets()
public java.util.List<FileItem> getFiles()
public java.util.List<java.lang.String> getFormats()
public java.lang.String getId()
public java.lang.String getModelEncoding()
public java.util.List<ModuleSet> getModuleSets()
public java.util.List<Repository> getRepositories()
public boolean isIncludeBaseDirectory()
public boolean isIncludeSiteDirectory()
public void removeComponentDescriptor(java.lang.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(java.lang.String string)
string
- public void removeModuleSet(ModuleSet moduleSet)
moduleSet
- public void removeRepository(Repository repository)
repository
- public void setBaseDirectory(java.lang.String baseDirectory)
baseDirectory
- public void setComponentDescriptors(java.util.List<java.lang.String> componentDescriptors)
componentDescriptors
- public void setContainerDescriptorHandlers(java.util.List<ContainerDescriptorHandlerConfig> containerDescriptorHandlers)
containerDescriptorHandlers
- public void setDependencySets(java.util.List<DependencySet> dependencySets)
dependencySets
- public void setFileSets(java.util.List<FileSet> fileSets)
fileSets
- public void setFiles(java.util.List<FileItem> files)
files
- public void setFormats(java.util.List<java.lang.String> formats)
formats
- public void setId(java.lang.String id)
id
- public void setIncludeBaseDirectory(boolean includeBaseDirectory)
includeBaseDirectory
- public void setIncludeSiteDirectory(boolean includeSiteDirectory)
includeSiteDirectory
- public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding
- public void setModuleSets(java.util.List<ModuleSet> moduleSets)
moduleSets
- public void setRepositories(java.util.List<Repository> repositories)
repositories
-