1 5 package xdoclet.ant.modulesbuilder; 6 7 import java.io.File ; 8 import java.util.Enumeration ; 9 10 import java.util.Vector ; 11 12 19 final class Module 20 { 21 private Vector dependencies = new Vector (); 22 private String name; 23 private boolean executed; 24 private File baseDir; 25 26 31 public Enumeration getDependencies() 32 { 33 return dependencies.elements(); 34 } 35 36 41 public String getName() 42 { 43 return name; 44 } 45 46 public boolean isExecuted() 47 { 48 return executed; 49 } 50 51 public File getBaseDir() 52 { 53 return baseDir; 54 } 55 56 61 public void setName(String name) 62 { 63 this.name = name; 64 } 65 66 public void setExecuted(boolean executed) 67 { 68 this.executed = executed; 69 } 70 71 public void setBaseDir(File baseDir) 72 { 73 this.baseDir = baseDir; 74 } 75 76 81 public void addDependency(String dependency) 82 { 83 dependencies.addElement(dependency); 84 } 85 } 86 | Popular Tags |