1 package net.firstpartners.nounit.ui.common; 2 3 26 27 import java.util.HashMap ; 28 29 import net.firstpartners.nounit.utility.NoUnitException; 30 31 35 public class CommandValueChecker extends AbstractValueChecker { 36 37 43 public boolean checkValues(AbstractPackage myValues) 44 throws NoUnitException { 45 46 boolean successFlag = true; 47 48 HashMap checkDirs = new HashMap (); 50 checkDirs.put(CommandPackage.START_DIR,CommandPackage.START_DIR); 51 checkDirs.put(CommandPackage.OUTPUT_DIR,CommandPackage.OUTPUT_DIR); 52 53 super.checkForDirsExist(myValues,checkDirs); 54 55 HashMap checkStrings = new HashMap (); 57 checkStrings.put(CommandPackage.REPORT_CLASS,CommandPackage.REPORT_CLASS); 58 59 super.checkForNullEmptyString(myValues,checkStrings); 60 61 return successFlag; 62 } 63 64 65 66 67 68 69 } | Popular Tags |