hudson.scm
Class IntegrityCheckoutTask

java.lang.Object
  extended by hudson.scm.IntegrityCheckoutTask
All Implemented Interfaces:
hudson.FilePath.FileCallable<Boolean>, Serializable

public class IntegrityCheckoutTask
extends Object
implements hudson.FilePath.FileCallable<Boolean>

See Also:
Serialized Form

Constructor Summary
IntegrityCheckoutTask(IntegritySCM scm, IntegrityCMProject siProject, boolean cleanCopy, hudson.model.BuildListener listener)
          Hudson supports building on distributed machines, and the SCM plugin must be able to be executed on other machines than the master.
 
Method Summary
 Boolean invoke(File workspaceFile, hudson.remoting.VirtualChannel channel)
          This task wraps around the code necessary to checkout Integrity CM Members on remote machines
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityCheckoutTask

public IntegrityCheckoutTask(IntegritySCM scm,
                             IntegrityCMProject siProject,
                             boolean cleanCopy,
                             hudson.model.BuildListener listener)
Hudson supports building on distributed machines, and the SCM plugin must be able to be executed on other machines than the master.

Parameters:
scm - Out IntegritySCM object that contains all the configuration information we need
siProject - IntegrityCMProject object containing details about the Integrity Project and Members
cleanCopy - Indicates whether or not the workspace needs to be cleaned up prior to checking out files
listener - The Hudson build listener
Method Detail

invoke

public Boolean invoke(File workspaceFile,
                      hudson.remoting.VirtualChannel channel)
               throws IOException
This task wraps around the code necessary to checkout Integrity CM Members on remote machines

Specified by:
invoke in interface hudson.FilePath.FileCallable<Boolean>
Throws:
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.