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() |
public 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
IOException
public void registerAll(BaseHome basehome, StartArgs args) throws IOException
IOException
public List<Module> resolveEnabled()
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.