public class AssemblyDescriptor extends Object
Constructor and Description |
---|
AssemblyDescriptor(String baseModuleName,
String baseModuleVersion) |
AssemblyDescriptor(String baseModuleName,
String baseModuleVersion,
File pathToProject)
Constructs the whole model assembly for the given base module in the given version.
|
Modifier and Type | Method and Description |
---|---|
void |
addToZip(ZipOutputStream zip)
Add all modules hold by this into the zip file.
|
String |
getDependencyTree() |
Collection<ModuleDescriptor> |
getModuleDescriptors() |
Map<String,String> |
getModules() |
Appendable |
printDependencyTree(Appendable a)
Prints dependency tree into appendable.
|
public AssemblyDescriptor(String baseModuleName, String baseModuleVersion, File pathToProject)
baseModuleName
- The base module name from which the assembly is built.baseModuleVersion
- The version of the base module.pathToProject
- the path to the folder containing the .project file and modules.public Collection<ModuleDescriptor> getModuleDescriptors()
public Map<String,String> getModules()
public String getDependencyTree()
public Appendable printDependencyTree(Appendable a)
a
- The appendable.a
for chaining.public void addToZip(ZipOutputStream zip) throws IOException
zip
- IOException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.