Constructor and Description |
---|
Modules(BaseHome basehome,
StartArgs args) |
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) |
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
FileNotFoundException
IOException
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-2014 Mort Bay Consulting. All Rights Reserved.