1 29 package net.sourceforge.groboutils.mbtf.v1.ant; 30 31 import org.apache.tools.ant.Project; 32 import org.apache.tools.ant.BuildException; 33 import org.apache.tools.ant.taskdefs.Definer; 34 import org.apache.tools.ant.types.Reference; 35 import org.apache.tools.ant.types.DataType; 36 import org.apache.tools.ant.Task; 37 38 import java.lang.reflect.Method ; 39 40 import net.sourceforge.groboutils.mbtf.v1.IValidate; 41 import net.sourceforge.groboutils.mbtf.v1.IErrors; 42 import net.sourceforge.groboutils.mbtf.v1.ISystem; 43 import net.sourceforge.groboutils.mbtf.v1.IAction; 44 import net.sourceforge.groboutils.mbtf.v1.TestHaltRuntimeException; 45 46 47 58 public class ValidateTaskType extends ReferenceType 59 implements IValidate, IAction 60 { 61 public static final String DEFAULT_ANT_NAME = "mbtf.validateant"; 64 65 66 public void validate( ISystem system, IErrors errors ) 67 { 68 execute( system, errors ); 69 } 70 71 72 public void performAction( ISystem system, IErrors errors ) 73 { 74 execute( system, errors ); 75 } 76 } 77 78 | Popular Tags |