public class HarvestSCM
extends hudson.scm.SCM
Modifier and Type | Class and Description |
---|---|
static class |
HarvestSCM.DescriptorImpl |
Constructor and Description |
---|
HarvestSCM(String broker,
String passwordFile,
String userId,
String password,
String projectName,
String state,
String viewPath,
String clientPath,
String processName,
String recursiveSearch,
Boolean useSynchronize,
String extraOptions)
Constructor
|
Modifier and Type | Method and Description |
---|---|
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
boolean |
checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changeLogFile) |
protected List<HarvestChangeLogEntry> |
checkoutInternal(hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener) |
protected hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline) |
hudson.scm.ChangeLogParser |
createChangeLogParser() |
protected String |
generateClientPath(String workspacePath) |
String |
getBroker() |
String |
getClientPath() |
HarvestSCM.DescriptorImpl |
getDescriptor() |
String |
getExtraOptions() |
String |
getPassword() |
String |
getPasswordFile() |
String |
getProcessName() |
String |
getProjectName() |
String |
getRecursiveSearch() |
String |
getState() |
String |
getUserId() |
String |
getViewPath() |
boolean |
isUseSynchronize() |
protected void |
parse(InputStream inputStream,
List<HarvestChangeLogEntry> listOfChanges) |
protected hudson.util.ArgumentListBuilder |
prepareCommand(String executable,
String defaultBroker,
String defaultPasswordFile,
String defaultUsername,
String defaultPassword,
String workspacePath) |
void |
setBroker(String broker) |
void |
setClientPath(String clientPath) |
void |
setExtraOptions(String extraOptions) |
void |
setPassword(String password) |
void |
setPasswordFile(String passwordFile) |
void |
setProcessName(String processName) |
void |
setProjectName(String projectName) |
void |
setRecursiveSearch(String recursiveSearch) |
void |
setState(String state) |
void |
setUserId(String userId) |
void |
setUseSynchronize(boolean useSynchronize) |
void |
setViewPath(String viewPath) |
boolean |
supportsPolling() |
_calcRevisionsFromBuild, _for, _for, all, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling
@DataBoundConstructor public HarvestSCM(String broker, String passwordFile, String userId, String password, String projectName, String state, String viewPath, String clientPath, String processName, String recursiveSearch, Boolean useSynchronize, String extraOptions)
broker
- userId
- password
- projectName
- state
- viewPath
- clientPath
- processName
- recursiveSearch
- public boolean supportsPolling()
supportsPolling
in class hudson.scm.SCM
public boolean checkout(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener, File changeLogFile) throws IOException, InterruptedException
checkout
in class hudson.scm.SCM
IOException
InterruptedException
protected List<HarvestChangeLogEntry> checkoutInternal(hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener) throws IOException, InterruptedException, FileNotFoundException
protected hudson.util.ArgumentListBuilder prepareCommand(String executable, String defaultBroker, String defaultPasswordFile, String defaultUsername, String defaultPassword, String workspacePath) throws IOException
IOException
protected void parse(InputStream inputStream, List<HarvestChangeLogEntry> listOfChanges) throws IOException
IOException
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.SCM
public HarvestSCM.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.scm.SCM>
getDescriptor
in class hudson.scm.SCM
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
calcRevisionsFromBuild
in class hudson.scm.SCM
IOException
InterruptedException
protected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener, hudson.scm.SCMRevisionState baseline) throws IOException, InterruptedException
compareRemoteRevisionWith
in class hudson.scm.SCM
IOException
InterruptedException
public String getBroker()
public void setBroker(String broker)
broker
- the broker to setpublic String getPasswordFile()
public void setPasswordFile(String passwordFile)
passwordFile
- the passwordFile to setpublic String getUserId()
public void setUserId(String userId)
userId
- the userId to setpublic String getPassword()
public void setPassword(String password)
password
- the password to setpublic String getProjectName()
public void setProjectName(String projectName)
projectName
- the projectName to setpublic String getState()
public void setState(String state)
state
- the state to setpublic String getViewPath()
public void setViewPath(String viewPath)
viewPath
- the viewPath to setpublic String getClientPath()
public void setClientPath(String clientPath)
clientPath
- the clientPath to setpublic String getProcessName()
public void setProcessName(String processName)
processName
- the processName to setpublic String getRecursiveSearch()
public void setRecursiveSearch(String recursiveSearch)
recursiveSearch
- the recursiveSearch to setpublic boolean isUseSynchronize()
public void setUseSynchronize(boolean useSynchronize)
useSynchronize
- the useSynchronize to setpublic String getExtraOptions()
public void setExtraOptions(String extraOptions)
Copyright © 2004-2015. All Rights Reserved.