| Constructor and Description |
|---|
Modules() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildGraph()
Using the provided dependencies, build the module graph
|
Integer |
count() |
void |
dump() |
void |
dumpEnabledTree() |
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(BaseHome basehome,
StartArgs args) |
void |
registerParentsIfMissing(BaseHome basehome,
StartArgs args,
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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void buildGraph()
public Integer count()
public void dump()
public void dumpEnabledTree()
public int getMaxDepth()
public void registerParentsIfMissing(BaseHome basehome, StartArgs args, Module module) throws IOException
IOExceptionpublic void registerAll(BaseHome basehome, StartArgs args) throws IOException
IOExceptionpublic List<Module> resolveEnabled()
Copyright © 1995–2015 Mort Bay Consulting. All rights reserved.