1 package hudson.maven; 2 3 import hudson.FilePath; 4 import hudson.model.Result; 5 6 import java.io.Serializable ; 7 import java.io.IOException ; 8 9 15 public interface MavenBuildProxy { 16 33 <V,T extends Throwable > V execute( BuildCallable<V,T> program ) throws T, IOException , InterruptedException ; 34 35 40 FilePath getRootDir(); 41 42 45 FilePath getProjectRootDir(); 46 47 50 FilePath getArtifactsDir(); 51 52 55 void setResult(Result result); 56 57 65 void registerAsProjectAction(MavenReporter reporter); 66 67 public interface BuildCallable<V,T extends Throwable > extends Serializable { 68 79 V call(MavenBuild build) throws T, IOException , InterruptedException ; 80 } 81 } 82 | Popular Tags |