public class VdbManifest extends Object implements Comparable<VdbManifest>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
VdbManifest.Reader |
| Constructor and Description |
|---|
VdbManifest(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VdbManifest that) |
List<VdbDataRole> |
getDataRoles() |
String |
getDescription() |
List<VdbEntry> |
getEntries() |
List<ImportVdb> |
getImportVdbs() |
VdbModel |
getModel(String path) |
List<VdbModel> |
getModels() |
String |
getName() |
Map<String,String> |
getProperties() |
List<VdbTranslator> |
getTranslators() |
int |
getVersion() |
Iterable<VdbModel> |
modelsInDependencyOrder() |
static VdbManifest |
read(InputStream stream,
Sequencer.Context context) |
void |
setDescription(String description) |
void |
setVersion(int version) |
String |
toString() |
public VdbManifest(String name)
name - the VDB name (cannot be null or empty)public static VdbManifest read(InputStream stream, Sequencer.Context context) throws Exception
Exceptionpublic int compareTo(VdbManifest that)
compareTo in interface Comparable<VdbManifest>Comparable.compareTo(java.lang.Object)public List<VdbDataRole> getDataRoles()
null but can be empty)public String getDescription()
null but can be empty)public List<ImportVdb> getImportVdbs()
null but can be empty)public VdbModel getModel(String path)
path - the path of the VDB model being requested (cannot be null or empty)null if not foundpublic String getName()
null or empty)public List<VdbTranslator> getTranslators()
null but can be empty)public int getVersion()
public void setDescription(String description)
description - Sets description to the specified value.public void setVersion(int version)
version - Sets version to the specified value.public String toString()
toString in class ObjectObject.toString()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.