hudson.matrix
Class MatrixBuild.MatrixBuildExecution

java.lang.Object
  extended by hudson.model.Run.RunExecution
      extended by hudson.model.Run.Runner
          extended by hudson.model.AbstractBuild.AbstractBuildExecution
              extended by hudson.matrix.MatrixBuild.MatrixBuildExecution
Enclosing class:
MatrixBuild

public class MatrixBuild.MatrixBuildExecution
extends AbstractBuild.AbstractBuildExecution

Object that lives from the start of MatrixBuild execution to its end. Used to keep track of things that are needed only during the build.


Field Summary
 
Fields inherited from class hudson.model.AbstractBuild.AbstractBuildExecution
launcher, listener
 
Constructor Summary
MatrixBuild.MatrixBuildExecution()
           
 
Method Summary
protected  Result doRun(BuildListener listener)
          The portion of a build that is specific to a subclass of AbstractBuild goes here.
 Set<MatrixConfiguration> getActiveConfigurations()
          Snapshot of MatrixProject.getActiveConfigurations() to ensure that the build will use a consistent view of it.
 List<MatrixAggregator> getAggregators()
          Aggregators attached to this build execution, that are notified of every start/end of MatrixRun.
 void post2(BuildListener listener)
           
 
Methods inherited from class hudson.model.AbstractBuild.AbstractBuildExecution
cleanUp, createLauncher, decideWorkspace, defaultCheckout, getCurrentNode, getLauncher, getListener, perform, performAllBuildStep, performAllBuildStep, performAllBuildSteps, performAllBuildSteps, post, preBuild, preBuild, preBuild, run
 
Methods inherited from class hudson.model.Run.RunExecution
getAttributes, getBuild, getProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixBuild.MatrixBuildExecution

public MatrixBuild.MatrixBuildExecution()
Method Detail

getActiveConfigurations

public Set<MatrixConfiguration> getActiveConfigurations()
Snapshot of MatrixProject.getActiveConfigurations() to ensure that the build will use a consistent view of it.


getAggregators

public List<MatrixAggregator> getAggregators()
Aggregators attached to this build execution, that are notified of every start/end of MatrixRun.


doRun

protected Result doRun(BuildListener listener)
                throws Exception
Description copied from class: AbstractBuild.AbstractBuildExecution
The portion of a build that is specific to a subclass of AbstractBuild goes here.

Specified by:
doRun in class AbstractBuild.AbstractBuildExecution
Returns:
null to continue the build normally (that means the doRun method itself run successfully) Return a non-null value to abort the build right there with the specified result code.
Throws:
Exception

post2

public void post2(BuildListener listener)
           throws Exception
Specified by:
post2 in class AbstractBuild.AbstractBuildExecution
Throws:
Exception
See Also:
AbstractBuild.AbstractBuildExecution.post(BuildListener)


Copyright © 2004-2013. All Rights Reserved.