palio.compiler.dependencies
Class DependenciesGraph
java.lang.Object
palio.compiler.dependencies.DependenciesGraph
public class DependenciesGraph
- extends java.lang.Object
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 |
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
DependenciesGraph
public DependenciesGraph()
DependenciesGraph
public DependenciesGraph(DependenciesGraph toCopy)
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()