wt.epm.retriever
Interface PopulatableResult
- All Known Implementing Classes:
- FamilyTableResult, ResultGraph, ResultList
- public interface PopulatableResult
To be implemented by different dependency retriever result classes -
list, graph, ..., user-defined structure.
populate
public void populate(WTCollection nodes,
WTCollection links)
throws WTException
- Takes collections of traced objects and links to build a specific
result structure.
NB! While tracing Iterated-Mastered links, the retriever looks for
an appropriate iteration according to the provided ConfigSpec(s).
If (and only if) no iteration was found for a given master, the Mastered
object itself will be included in the "nodes" collection.
- Parameters:
nodes
- Collection of Iterated or Mastered objects. May be empty, but not null.links
- Collection of BinaryLink objects. May be empty, but not null.
- Throws:
EPMRetrieverException
- - up to an implementation
NullPointerException
- if any one of the parameters is null.
ClassCastException
- if a node object is not Iterated (or Mastered),
or a link object is not a BinaryLink.
WTException