1 package net.sf.statsvn.util; 2 3 4 /** 5 * Base processor that uses the command line svn client. 6 * @author jkealey 7 * 8 */ 9 public class SvnCommandLineProcessor implements ISvnProcessor { 10 11 12 private ISvnDiffProcessor diffProcessorInstance; 13 public ISvnDiffProcessor getDiffProcessor() 14 { 15 if (diffProcessorInstance==null) diffProcessorInstance = new SvnDiffUtils(this); 16 return diffProcessorInstance; 17 } 18 19 private ISvnInfoProcessor infoProcessorInstance; 20 public ISvnInfoProcessor getInfoProcessor() 21 { 22 if (infoProcessorInstance==null) infoProcessorInstance = new SvnInfoUtils(this); 23 return infoProcessorInstance; 24 } 25 26 private ISvnPropgetProcessor propgetProcessorInstance; 27 public ISvnPropgetProcessor getPropgetProcessor() 28 { 29 if (propgetProcessorInstance==null) propgetProcessorInstance = new SvnPropgetUtils(this); 30 return propgetProcessorInstance; 31 } 32 33 private ISvnVersionProcessor versionProcessorInstance; 34 public ISvnVersionProcessor getVersionProcessor() 35 { 36 if (versionProcessorInstance==null) versionProcessorInstance = new SvnStartupUtils(this); 37 return versionProcessorInstance; 38 } 39 }