com.ibm.team.build.internal.hjplugin
Class RTCCheckoutTask

java.lang.Object
  extended by com.ibm.team.build.internal.hjplugin.RTCCheckoutTask
All Implemented Interfaces:
hudson.FilePath.FileCallable<Map<String,String>>, Serializable

public class RTCCheckoutTask
extends Object
implements hudson.FilePath.FileCallable<Map<String,String>>

See Also:
Serialized Form

Constructor Summary
RTCCheckoutTask(String contextStr, String buildToolkit, String serverURI, String userId, String password, int timeout, String buildResultUUID, String buildWorkspace, String baselineSetName, hudson.model.BuildListener listener, hudson.remoting.RemoteOutputStream changeLog, boolean isRemote, boolean debug, Locale clientLocale)
          Task that performs checkout work on the master or the slave
 
Method Summary
 Map<String,String> invoke(File workspace, hudson.remoting.VirtualChannel channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTCCheckoutTask

public RTCCheckoutTask(String contextStr,
                       String buildToolkit,
                       String serverURI,
                       String userId,
                       String password,
                       int timeout,
                       String buildResultUUID,
                       String buildWorkspace,
                       String baselineSetName,
                       hudson.model.BuildListener listener,
                       hudson.remoting.RemoteOutputStream changeLog,
                       boolean isRemote,
                       boolean debug,
                       Locale clientLocale)
Task that performs checkout work on the master or the slave

Parameters:
contextStr - Context for logging
buildToolkit - The build toolkit to use when working with the facade
serverURI - The address of the repository server
userId - The user id to use when logging into the server
password - The password to use when logging into the server.
timeout - The timeout period for requests made to the server
buildDefinition - The name (id) of the build definition to use. May be null if buildWorkspace is supplied instead.
buildWorkspace - The name of the RTC build workspace. May be null if buildDefinition is supplied instead.
buildResultUUID - The build result to relate build results with.
baselineSetName - The name to give the baselineSet created
listener - A listener that will be notified of the progress and errors encountered.
changeLog - Output stream to hold the Change log results
isRemote - Whether this will be executed on the Master or a slave
debug - Whether to report debugging messages to the listener
clientLocale - The locale of the requesting client
Method Detail

invoke

public Map<String,String> invoke(File workspace,
                                 hudson.remoting.VirtualChannel channel)
                          throws IOException,
                                 InterruptedException
Specified by:
invoke in interface hudson.FilePath.FileCallable<Map<String,String>>
Throws:
IOException
InterruptedException


Copyright © 2004-2013. All Rights Reserved.