public class SynergySCM extends hudson.scm.SCM implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SynergySCM.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static String |
CCM_SESSION_MAP_FILE_NAME |
Constructor and Description |
---|
SynergySCM(String project,
String database,
String release,
String purpose,
String username,
String password,
String engine,
String oldProject,
String baseline,
String oldBaseline,
String ccmHome,
boolean remoteClient,
boolean detectConflict,
boolean replaceSubprojects,
boolean checkForUpdateWarnings,
boolean leaveSessionOpen,
Boolean maintainWorkarea,
boolean checkTaskModifiedObjects) |
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 path,
hudson.model.BuildListener listener,
File changeLogFile) |
protected hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath path,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline) |
hudson.scm.ChangeLogParser |
createChangeLogParser() |
String |
getBaseline() |
String |
getCcmHome() |
String |
getDatabase() |
SynergySCM.DescriptorImpl |
getDescriptor() |
String |
getEngine() |
Boolean |
getMaintainWorkarea() |
String |
getOldBaseline() |
String |
getOldProject() |
hudson.util.Secret |
getPassword() |
String |
getProject()
Returns the raw project name.
|
String |
getPurpose() |
String |
getRelease() |
static File |
getRevisionFile(hudson.model.AbstractBuild build)
Gets the file that stores the revision.
|
String |
getUsername() |
boolean |
isCheckForUpdateWarnings() |
boolean |
isCheckTaskModifiedObjects() |
boolean |
isDetectConflict() |
boolean |
isLeaveSessionOpen() |
boolean |
isRemoteClient() |
boolean |
isReplaceSubprojects() |
boolean |
requiresWorkspaceForPolling() |
void |
setCheckForUpdateWarnings(boolean checkForUpdateWarnings) |
void |
setCheckTaskModifiedObjects(boolean checkTaskModifiedObjects) |
void |
setDetectConflict(boolean detectConflict) |
void |
setEngine(String engine) |
void |
setLeaveSessionOpen(boolean leaveSessionOpen) |
void |
setMaintainWorkarea(Boolean maintainWorkarea) |
void |
setRemoteClient(boolean remoteClient) |
void |
setReplaceSubprojects(boolean replaceSubprojects) |
boolean |
shouldMaintainWorkarea() |
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion, supportsPolling
public static final String CCM_SESSION_MAP_FILE_NAME
@DataBoundConstructor public SynergySCM(String project, String database, String release, String purpose, String username, String password, String engine, String oldProject, String baseline, String oldBaseline, String ccmHome, boolean remoteClient, boolean detectConflict, boolean replaceSubprojects, boolean checkForUpdateWarnings, boolean leaveSessionOpen, Boolean maintainWorkarea, boolean checkTaskModifiedObjects)
project
- database
- release
- purpose
- username
- password
- engine
- oldProject
- baseline
- oldBaseline
- ccmHome
- remoteClient
- detectConflict
- replaceSubprojects
- checkForUpdateWarnings
- leaveSessionOpen
- maintainWorkarea
- public boolean checkout(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.FilePath path, hudson.model.BuildListener listener, File changeLogFile) throws IOException, InterruptedException
checkout
in class hudson.scm.SCM
IOException
InterruptedException
public static File getRevisionFile(hudson.model.AbstractBuild build)
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.SCM
public SynergySCM.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.scm.SCM>
getDescriptor
in class hudson.scm.SCM
public boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling
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 path, hudson.model.TaskListener listener, hudson.scm.SCMRevisionState baseline) throws IOException, InterruptedException
compareRemoteRevisionWith
in class hudson.scm.SCM
IOException
InterruptedException
public String getProject()
public String getCcmHome()
public String getDatabase()
public String getUsername()
public hudson.util.Secret getPassword()
public String getRelease()
public String getPurpose()
public String getEngine()
public void setEngine(String engine)
public String getOldProject()
public String getBaseline()
public String getOldBaseline()
public boolean isRemoteClient()
public void setRemoteClient(boolean remoteClient)
public boolean isDetectConflict()
public void setDetectConflict(boolean detectConflict)
public boolean isReplaceSubprojects()
public void setReplaceSubprojects(boolean replaceSubprojects)
public boolean isCheckForUpdateWarnings()
public void setCheckForUpdateWarnings(boolean checkForUpdateWarnings)
public void setLeaveSessionOpen(boolean leaveSessionOpen)
public boolean isLeaveSessionOpen()
public void setMaintainWorkarea(Boolean maintainWorkarea)
public Boolean getMaintainWorkarea()
public boolean shouldMaintainWorkarea()
public boolean isCheckTaskModifiedObjects()
public void setCheckTaskModifiedObjects(boolean checkTaskModifiedObjects)
Copyright © 2008-2013. All Rights Reserved.