public class EAPModulesFlatGraph extends Object implements EAPModulesGraph
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPENDENCY_SEPARATOR |
| Constructor and Description |
|---|
EAPModulesFlatGraph(String distributionName,
EAPLayer layer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDistributionName()
The distribution name.
|
protected Collection<EAPModule> |
getModulesReferenced(Collection<EAPModule> modules)
Obtain the modules that someother one depends on it.
|
protected Collection<EAPModule> |
getModulesWithResources(Collection<EAPModule> modules)
Obtain the modules that someother one depends on it.
|
EAPModuleGraphNode |
getNode(String nodeUID)
Get a module node by node UID.
|
List<EAPModuleGraphNode> |
getNodes()
Get root node.
|
String |
print()
Prints the graph model for all modules as text output.
|
static String |
print(EAPModule module) |
static String |
print(EAPModuleDependency dependency) |
static String |
print(EAPModuleResource resource) |
public static final String DEPENDENCY_SEPARATOR
public List<EAPModuleGraphNode> getNodes()
EAPModulesGraphgetNodes in interface EAPModulesGraphpublic EAPModuleGraphNode getNode(String nodeUID)
EAPModulesGraphgetNode in interface EAPModulesGraphnodeUID - The node UID.public String getDistributionName()
EAPModulesGraphgetDistributionName in interface EAPModulesGraphprotected Collection<EAPModule> getModulesReferenced(Collection<EAPModule> modules)
modules - The modules list.protected Collection<EAPModule> getModulesWithResources(Collection<EAPModule> modules)
modules - The modules list.public String print()
EAPModulesGraphprint in interface EAPModulesGraphpublic static String print(EAPModuleResource resource)
public static String print(EAPModuleDependency dependency)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.