Package jetbrains.buildServer.util.graph
Interface DFSVisitor<T>
-
- All Known Implementing Classes:
DFSVisitorAdapter
public interface DFSVisitor<T>
- Author:
- dmitry.neverov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
discover(T node)
Called when the node first discoveredvoid
finish(T node)
Called when node and all its parents are processed
-
-
-
Method Detail
-
discover
boolean discover(@NotNull T node)
Called when the node first discovered- Parameters:
node
- discovered node- Returns:
- true if node's parents should be added to the search, false otherwise
-
finish
void finish(@NotNull T node)
Called when node and all its parents are processed- Parameters:
node
- processed node
-
-