1 32 33 package com.jeantessier.dependency; 34 35 import java.util.*; 36 37 public interface TraversalStrategy { 38 public boolean doPreOutboundTraversal(); 39 public void setPreOutboundTraversal(boolean preOutboundTraversal); 40 public boolean doPreInboundTraversal(); 41 public void setPreInboundTraversal(boolean preInboundTraversal); 42 public boolean doPostOutboundTraversal(); 43 public void setPostOutboundTraversal(boolean postOutboundTraversal); 44 public boolean doPostInboundTraversal(); 45 public void setPostInboundTraversal(boolean postInboundTraversal); 46 47 public boolean isInScope(PackageNode node); 48 public boolean isInScope(ClassNode node); 49 public boolean isInScope(FeatureNode node); 50 51 public boolean isInFilter(PackageNode node); 52 public boolean isInFilter(ClassNode node); 53 public boolean isInFilter(FeatureNode node); 54 55 public Collection order(Collection collection); 56 } 57 | Popular Tags |