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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public void buildGraph() throws FileNotFoundException, IOException
FileNotFoundException
IOException
public void clearMissing()
public Integer count()
public void dump()
public void dumpEnabledTree()
public void enable(String name) throws IOException
IOException
public void enable(String name, List<String> sources) throws IOException
IOException
public int getMaxDepth()
public void registerParentsIfMissing(Module module) throws IOException
IOException
public void registerAll() throws IOException
IOException
public List<Module> resolveEnabled()
Copyright © 1995–2015 Mort Bay Consulting. All rights reserved.