public final class DependableFactory
extends java.lang.Object
Elements.
 
 The factory offers the following services:
Element (the parent), this factory can create and return one or more
 DiscoveredDependable objects, each of which represent dependable end-points
 within that Element.
 Dependable object
 for that Element. 
 Dependable it can return its serialized HashStructure form.
 DependableFactory.Params context adapter can be used to pass additional parameters to the factory
 via the Context, including its parent.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DependableFactory.Params  | 
| Modifier and Type | Method and Description | 
|---|---|
Dependable | 
createDependable(Context context)
Creates a Dependable for selected Element in the context. 
 | 
java.lang.Iterable<DiscoveredDependable> | 
discover(Context context)
Gets all possible  
DiscoveredDependable node under a parent for
 forming dependencies originating from another element. | 
static DependableFactory | 
getInstance()
Get the singleton instance. 
 | 
public static DependableFactory getInstance()
public Dependable createDependable(Context context)
Context should contain the following:
 For example, if a dependency is from ProjectA to ProjectB,
 then origin would ProjectA, Element would be the ProjectB, parent 
 would be the Workspace for ProjectB.
public java.lang.Iterable<DiscoveredDependable> discover(Context context)
DiscoveredDependable node under a parent for
 forming dependencies originating from another element.
 
 The Context should contain the following:
 element - the root element under which dependables are to be discovered.
 parent - the containing folder or owner of the Element.
 origin - the source from where the dependency is originating. 
 
 Use the DependableFactory.Params context adapter to set parameters in the Context.