1 32 33 package com.jeantessier.dependency; 34 35 public class MockSelectionCriteria implements SelectionCriteria { 36 private boolean value = false; 37 38 public boolean getValue() { 39 return value; 40 } 41 42 public void setValue(boolean value) { 43 this.value = value; 44 } 45 46 public boolean isMatchingPackages() { 47 return value; 48 } 49 50 public boolean isMatchingClasses() { 51 return value; 52 } 53 54 public boolean isMatchingFeatures() { 55 return value; 56 } 57 58 public boolean matches(PackageNode node) { 59 return value; 60 } 61 62 public boolean matches(ClassNode node) { 63 return value; 64 } 65 66 public boolean matches(FeatureNode node) { 67 return value; 68 } 69 70 public boolean matchesPackageName(String name) { 71 return value; 72 } 73 74 public boolean matchesClassName(String name) { 75 return value; 76 } 77 78 public boolean matchesFeatureName(String name) { 79 return value; 80 } 81 } 82 | Popular Tags |