1 package hudson.tasks; 2 3 import hudson.ExtensionPoint; 4 import hudson.Launcher; 5 import hudson.model.Build; 6 import hudson.model.BuildListener; 7 import hudson.model.Describable; 8 import hudson.model.Project; 9 10 import java.io.IOException ; 11 import java.util.Map ; 12 13 34 public abstract class BuildWrapper implements ExtensionPoint, Describable<BuildWrapper> { 35 42 public abstract class Environment { 43 58 public void buildEnvVars(Map <String ,String > env) { 59 } 61 62 82 public abstract boolean tearDown( Build build, BuildListener listener ) throws IOException ; 83 } 84 85 104 public abstract Environment setUp( Build build, Launcher launcher, BuildListener listener ) throws IOException ; 105 } 106 | Popular Tags |