palio.compiler.dependencies
Class DependenciesGraph

java.lang.Object
  extended by palio.compiler.dependencies.DependenciesGraph

public class DependenciesGraph
extends java.lang.Object


Field Summary
static int ADDITIONAL_GENERATION
           
static int ALL_GENERATED
           
static int FIRST_GENERATION
           
 
Constructor Summary
DependenciesGraph()
           
DependenciesGraph(DependenciesGraph toCopy)
           
 
Method Summary
 palio.compiler.dependencies.DependenciesGraphNode getDependencies(torn.omea.framework.core.OmeaObjectId objectId)
          You must use readLock() before that method and readUnlock() after it!
 void readLock()
           
 void readUnlock()
           
 void saveToTree(torn.omea.framework.core.OmeaObjectId objectId, java.util.List<palio.compiler.dependencies.GraphReference> invokedObjectByCode, java.util.List<palio.compiler.dependencies.GraphReference> invokedObjectById)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_GENERATED

public static final int ALL_GENERATED
See Also:
Constant Field Values

FIRST_GENERATION

public static final int FIRST_GENERATION
See Also:
Constant Field Values

ADDITIONAL_GENERATION

public static final int ADDITIONAL_GENERATION
See Also:
Constant Field Values
Constructor Detail

DependenciesGraph

public DependenciesGraph()

DependenciesGraph

public DependenciesGraph(DependenciesGraph toCopy)
Method Detail

saveToTree

public void saveToTree(torn.omea.framework.core.OmeaObjectId objectId,
                       java.util.List<palio.compiler.dependencies.GraphReference> invokedObjectByCode,
                       java.util.List<palio.compiler.dependencies.GraphReference> invokedObjectById)

getDependencies

public palio.compiler.dependencies.DependenciesGraphNode getDependencies(torn.omea.framework.core.OmeaObjectId objectId)
You must use readLock() before that method and readUnlock() after it!

Parameters:
objectId - object id to get dependenciesGraphNode for.
Returns:
Node related to objectId.

readLock

public void readLock()

readUnlock

public void readUnlock()