|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.scm.IntegrityCheckoutTask
public class IntegrityCheckoutTask
| Constructor Summary | |
|---|---|
IntegrityCheckoutTask(List<Hashtable<CM_PROJECT,Object>> projectMembersList,
List<String> dirList,
String alternateWorkspaceDir,
String lineTerminator,
boolean restoreTimestamp,
boolean cleanCopy,
boolean fetchChangedWorkspaceFiles,
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 | |
|---|---|
APISession |
createAPISession()
Creates an authenticated API Session against the Integrity Server |
Hashtable<String,String> |
getChecksumUpdates()
Returns all the changes to the checksums that were performed |
void |
initAPIVariables(String ipHostName,
int ipPort,
String hostName,
int port,
boolean secure,
String userName,
String password)
Helper function to initialize all the variables needed to establish an APISession |
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 |
|---|
public IntegrityCheckoutTask(List<Hashtable<CM_PROJECT,Object>> projectMembersList,
List<String> dirList,
String alternateWorkspaceDir,
String lineTerminator,
boolean restoreTimestamp,
boolean cleanCopy,
boolean fetchChangedWorkspaceFiles,
hudson.model.BuildListener listener)
projectMembersList - A list of all the members that are in this Integrity SCM projectdirList - A list of all the unique directories in this Integrity SCM projectalternateWorkspaceDir - Specifies an alternate location for checkout other than the default workspacelineTerminator - The line termination setting for this checkout operationrestoreTimestamp - Toggles whether to use the current date/time or the original date/time for the membercleanCopy - Indicates whether or not the workspace needs to be cleaned up prior to checking out filesfetchChangedWorkspaceFiles - Toggles whether or not to calculate checksums, so if changed then it will be overwrittenlistener - The Hudson build listener| Method Detail |
|---|
public void initAPIVariables(String ipHostName,
int ipPort,
String hostName,
int port,
boolean secure,
String userName,
String password)
ipHostName - Integration Point HostnameipPort - Integration Point PorthostName - Integrity Server Hostnameport - Integrity Server Portsecure - Toggles whether Integrity Server is SSL enableduserName - Username to connect to the Integrity Serverpassword - Password for the Username connection to the Integrity Serverpublic APISession createAPISession()
public Hashtable<String,String> getChecksumUpdates()
public Boolean invoke(File workspaceFile,
hudson.remoting.VirtualChannel channel)
throws IOException
invoke in interface hudson.FilePath.FileCallable<Boolean>IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||