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 specifies which repository files to include in the
assembly.
|
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 String getId()
public String getModelEncoding()
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
- Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.