Skip to content
Snippets Groups Projects
Commit 67cbd440 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

first draft of an intrastagevisitor

parent 035cf2e0
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ package teetime.framework;
import teetime.framework.pipe.IPipe;
public interface StageVisitor {
public interface IStageVisitor {
public enum VisitorBehavior {
CONTINUE, STOP
......
......@@ -3,15 +3,15 @@ package teetime.framework;
import java.util.HashSet;
import java.util.Set;
import teetime.framework.StageVisitor.VisitorBehavior;
import teetime.framework.IStageVisitor.VisitorBehavior;
import teetime.framework.pipe.IPipe;
public class Traversor {
private final StageVisitor stageVisitor;
private final IStageVisitor stageVisitor;
private final Set<Stage> visitedStage = new HashSet<Stage>();
public Traversor(final StageVisitor stageVisitor) {
public Traversor(final IStageVisitor stageVisitor) {
this.stageVisitor = stageVisitor;
}
......
wiki @ 162510ff
Subproject commit 0e4474577e1f49bc96e734c286b2d9e0363895e8
Subproject commit 162510ff4d2f04011498ba6920aae0c78347c6c8
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment