public class AssemblyDescriptor
extends java.lang.Object
Constructor and Description |
---|
AssemblyDescriptor(java.lang.String baseModuleName,
java.lang.String baseModuleVersion) |
AssemblyDescriptor(java.lang.String baseModuleName,
java.lang.String baseModuleVersion,
java.io.File pathToProject)
Constructs the whole model assembly for the given base module in the given version.
|
Modifier and Type | Method and Description |
---|---|
void |
addToZip(java.util.zip.ZipOutputStream zip)
Add all modules hold by this into the zip file.
|
java.lang.String |
getDependencyTree() |
java.util.Collection<ModuleDescriptor> |
getModuleDescriptors() |
java.util.Map<java.lang.String,java.lang.String> |
getModules() |
java.lang.Appendable |
printDependencyTree(java.lang.Appendable a)
Prints dependency tree into appendable.
|
public AssemblyDescriptor(java.lang.String baseModuleName, java.lang.String baseModuleVersion)
public AssemblyDescriptor(java.lang.String baseModuleName, java.lang.String baseModuleVersion, java.io.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 java.util.Collection<ModuleDescriptor> getModuleDescriptors()
public java.util.Map<java.lang.String,java.lang.String> getModules()
public java.lang.String getDependencyTree()
public java.lang.Appendable printDependencyTree(java.lang.Appendable a)
a
- The appendable.a
for chaining.public void addToZip(java.util.zip.ZipOutputStream zip) throws java.io.IOException
zip
- java.io.IOException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.