public class Assembly extends Object implements Serializable
Constructor and Description |
---|
Assembly() |
Modifier and Type | Method and Description |
---|---|
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 Deprecated since model version 2.1.1.
|
public void addComponentDescriptor(String string)
string
- a string object.public void addContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)
containerDescriptorHandlerConfig
- a
containerDescriptorHandlerConfig object.public void addDependencySet(DependencySet dependencySet)
dependencySet
- a dependencySet object.public void addFile(FileItem fileItem)
fileItem
- a fileItem object.public void addFileSet(FileSet fileSet)
fileSet
- a fileSet object.public void addFormat(String string)
string
- a string object.public void addModuleSet(ModuleSet moduleSet)
moduleSet
- a moduleSet object.public void addRepository(Repository repository)
repository
- a repository object.public String getBaseDirectory()
public List<String> getComponentDescriptors()
public List<ContainerDescriptorHandlerConfig> getContainerDescriptorHandlers()
public List<DependencySet> getDependencySets()
public String getId()
public String getModelEncoding()
public List<Repository> getRepositories()
public boolean isIncludeBaseDirectory()
public boolean isIncludeSiteDirectory()
public void removeComponentDescriptor(String string)
string
- a string object.public void removeContainerDescriptorHandler(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig)
containerDescriptorHandlerConfig
- a
containerDescriptorHandlerConfig object.public void removeDependencySet(DependencySet dependencySet)
dependencySet
- a dependencySet object.public void removeFile(FileItem fileItem)
fileItem
- a fileItem object.public void removeFileSet(FileSet fileSet)
fileSet
- a fileSet object.public void removeFormat(String string)
string
- a string object.public void removeModuleSet(ModuleSet moduleSet)
moduleSet
- a moduleSet object.public void removeRepository(Repository repository)
repository
- a repository object.public void setBaseDirectory(String baseDirectory)
baseDirectory
- a baseDirectory object.public void setComponentDescriptors(List<String> componentDescriptors)
componentDescriptors
- a componentDescriptors object.public void setContainerDescriptorHandlers(List<ContainerDescriptorHandlerConfig> containerDescriptorHandlers)
containerDescriptorHandlers
- a
containerDescriptorHandlers object.public void setDependencySets(List<DependencySet> dependencySets)
dependencySets
- a dependencySets object.public void setFileSets(List<FileSet> fileSets)
fileSets
- a fileSets object.public void setFiles(List<FileItem> files)
files
- a files object.public void setFormats(List<String> formats)
formats
- a formats object.public void setId(String id)
id
- a id object.public void setIncludeBaseDirectory(boolean includeBaseDirectory)
includeBaseDirectory
- a includeBaseDirectory object.public void setIncludeSiteDirectory(boolean includeSiteDirectory)
includeSiteDirectory
- a includeSiteDirectory object.public void setModelEncoding(String modelEncoding)
modelEncoding
- a modelEncoding object.public void setModuleSets(List<ModuleSet> moduleSets)
moduleSets
- a moduleSets object.public void setRepositories(List<Repository> repositories)
repositories
- a repositories object.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.