| Constructor and Description |
|---|
Modules(BaseHome basehome,
StartArgs args) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildGraph()
Using the provided dependencies, build the module graph
|
void |
clearMissing() |
Integer |
count() |
void |
dump() |
void |
dumpEnabledTree() |
void |
enable(String name) |
void |
enable(String name,
List<String> sources) |
Module |
get(String name) |
int |
getMaxDepth() |
Set<Module> |
getModulesAtDepth(int depth) |
Iterator<Module> |
iterator() |
List<String> |
normalizeLibs(List<Module> active) |
List<String> |
normalizeXmls(List<Module> active) |
Module |
register(Module module) |
void |
registerAll() |
void |
registerParentsIfMissing(Module module) |
Set<String> |
resolveChildModulesOf(String moduleName) |
List<Module> |
resolveEnabled()
Resolve the execution order of the enabled modules, and all dependant modules, based on depth first transitive reduction.
|
Set<String> |
resolveParentModulesOf(String moduleName) |
String |
toString() |
public void buildGraph()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic void clearMissing()
public Integer count()
public void dump()
public void dumpEnabledTree()
public void enable(String name) throws IOException
IOExceptionpublic void enable(String name, List<String> sources) throws IOException
IOExceptionpublic int getMaxDepth()
public void registerParentsIfMissing(Module module) throws IOException
IOExceptionpublic void registerAll()
throws IOException
IOExceptionpublic List<Module> resolveEnabled()
Copyright © 1995-2015 Webtide. All Rights Reserved.