Package hudson.plugins.git.util
Interface BuildChooserContext
-
public interface BuildChooserContextProvides access to the model object on the controller forBuildChooser.BuildChooserruns on a node that has the workspace, which means it can run on an agent. This interface provides access forBuildChooserto send a closure to the controller and execute code there.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceBuildChooserContext.ContextCallable<P,T>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TactOnBuild(BuildChooserContext.ContextCallable<Run<?,?>,T> callable)<T> TactOnProject(BuildChooserContext.ContextCallable<Job<?,?>,T> callable)Run<?,?>getBuild()EnvVarsgetEnvironment()
-
-
-
Method Detail
-
actOnBuild
<T> T actOnBuild(BuildChooserContext.ContextCallable<Run<?,?>,T> callable) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
actOnProject
<T> T actOnProject(BuildChooserContext.ContextCallable<Job<?,?>,T> callable) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
getBuild
Run<?,?> getBuild()
-
getEnvironment
EnvVars getEnvironment()
-
-