|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.perseus.dependency.lib.BasicDependencyGraph
Field Summary | |
protected Logger |
logger
|
java.util.Map |
successors
|
Constructor Summary | |
BasicDependencyGraph()
|
Method Summary | |
boolean |
addVertex(java.lang.Object src,
java.lang.Object dst)
Adds a vertex in the graph, or returns false is this would create a cycle. |
boolean |
addVertex(java.lang.Object src,
java.lang.Object dst,
java.util.Set s)
|
int |
addVertexes(java.lang.Object src,
java.util.List dsts)
Add a vertex between a task and a list of other. |
void |
bindFc(java.lang.String s,
java.lang.Object o)
|
java.util.Map |
getVertexes()
|
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String s)
|
void |
removeVertex(java.lang.Object src,
java.lang.Object dst)
Removes a vertex in the graph. |
void |
removeVertexes(java.util.List srcs,
java.lang.Object dst)
Removes the vertexes/dependencies between a list of tasks and another. |
void |
removeVertexes(java.lang.Object src,
java.util.List dsts)
Removes the vertexes/dependencies between a task and a list of others. |
void |
unbindFc(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.Map successors
protected Logger logger
Constructor Detail |
public BasicDependencyGraph()
Method Detail |
public boolean addVertex(java.lang.Object src, java.lang.Object dst, java.util.Set s)
public java.lang.String[] listFc()
public java.lang.Object lookupFc(java.lang.String s)
public void bindFc(java.lang.String s, java.lang.Object o)
public void unbindFc(java.lang.String s)
public boolean addVertex(java.lang.Object src, java.lang.Object dst)
addVertex
in interface DependencyGraph
src
- is the source of the vertexdst
- is the target of the vertex
public int addVertexes(java.lang.Object src, java.util.List dsts)
DependencyGraph
addVertexes
in interface DependencyGraph
src
- is the source of the vertex
public void removeVertex(java.lang.Object src, java.lang.Object dst)
removeVertex
in interface DependencyGraph
src
- is the source of the vertexdst
- is the target of the vertexpublic void removeVertexes(java.util.List srcs, java.lang.Object dst)
DependencyGraph
removeVertexes
in interface DependencyGraph
srcs
- is the list of sources of the vertexesdst
- is the target of the vertexespublic void removeVertexes(java.lang.Object src, java.util.List dsts)
DependencyGraph
removeVertexes
in interface DependencyGraph
dsts
- is the list of targets of the vertexespublic java.util.Map getVertexes()
getVertexes
in interface DependencyGraph
DependencyGraph.getVertexes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |