hudson.plugins.synergy
Class SynergySCM

java.lang.Object
  extended by hudson.scm.SCM
      extended by hudson.plugins.synergy.SynergySCM
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>, java.io.Serializable

public class SynergySCM
extends hudson.scm.SCM
implements java.io.Serializable

Synergy SCM

Author:
Jean-Noel RIBETTE
See Also:
Serialized Form

Nested Class Summary
static class SynergySCM.DescriptorImpl
           
 
Field Summary
static java.lang.String CCM_SESSION_MAP_FILE_NAME
           
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
SynergySCM(java.lang.String project, java.lang.String database, java.lang.String release, java.lang.String purpose, java.lang.String username, java.lang.String password, java.lang.String engine, java.lang.String oldProject, java.lang.String baseline, java.lang.String oldBaseline, boolean remoteClient, boolean detectConflict, boolean replaceSubprojects, boolean checkForUpdateWarnings, boolean leaveSessionOpen)
           
 
Method Summary
 boolean checkout(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.FilePath path, hudson.model.BuildListener listener, java.io.File changeLogFile)
           
 hudson.scm.ChangeLogParser createChangeLogParser()
           
 java.lang.String getBaseline()
           
 java.lang.String getDatabase()
           
 SynergySCM.DescriptorImpl getDescriptor()
           
 java.lang.String getEngine()
           
 java.lang.String getOldBaseline()
           
 java.lang.String getOldProject()
           
 java.lang.String getPassword()
           
 java.lang.String getProject()
           
 java.lang.String getPurpose()
           
 java.lang.String getRelease()
           
static java.io.File getRevisionFile(hudson.model.AbstractBuild build)
          Gets the file that stores the revision.
 java.lang.String getUsername()
           
 boolean isCheckForUpdateWarnings()
           
 boolean isDetectConflict()
           
 boolean isLeaveSessionOpen()
           
 boolean isRemoteClient()
           
 boolean isReplaceSubprojects()
           
 boolean pollChanges(hudson.model.AbstractProject project, hudson.Launcher launcher, hudson.FilePath path, hudson.model.TaskListener listener)
           
 void setCheckForUpdateWarnings(boolean checkForUpdateWarnings)
           
 void setDetectConflict(boolean detectConflict)
           
 void setEngine(java.lang.String engine)
           
 void setLeaveSessionOpen(boolean leaveSessionOpen)
           
 void setRemoteClient(boolean remoteClient)
           
 void setReplaceSubprojects(boolean replaceSubprojects)
           
 
Methods inherited from class hudson.scm.SCM
buildEnvVars, createEmptyChangeLog, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoots, nullify, requiresWorkspaceForPolling, supportsPolling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CCM_SESSION_MAP_FILE_NAME

public static final java.lang.String CCM_SESSION_MAP_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

SynergySCM

@DataBoundConstructor
public SynergySCM(java.lang.String project,
                                       java.lang.String database,
                                       java.lang.String release,
                                       java.lang.String purpose,
                                       java.lang.String username,
                                       java.lang.String password,
                                       java.lang.String engine,
                                       java.lang.String oldProject,
                                       java.lang.String baseline,
                                       java.lang.String oldBaseline,
                                       boolean remoteClient,
                                       boolean detectConflict,
                                       boolean replaceSubprojects,
                                       boolean checkForUpdateWarnings,
                                       boolean leaveSessionOpen)
Method Detail

checkout

public boolean checkout(hudson.model.AbstractBuild build,
                        hudson.Launcher launcher,
                        hudson.FilePath path,
                        hudson.model.BuildListener listener,
                        java.io.File changeLogFile)
                 throws java.io.IOException,
                        java.lang.InterruptedException
Specified by:
checkout in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

getRevisionFile

public static java.io.File getRevisionFile(hudson.model.AbstractBuild build)
Gets the file that stores the revision.


createChangeLogParser

public hudson.scm.ChangeLogParser createChangeLogParser()
Specified by:
createChangeLogParser in class hudson.scm.SCM

getDescriptor

public SynergySCM.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>
Overrides:
getDescriptor in class hudson.scm.SCM

pollChanges

public boolean pollChanges(hudson.model.AbstractProject project,
                           hudson.Launcher launcher,
                           hudson.FilePath path,
                           hudson.model.TaskListener listener)
                    throws java.io.IOException,
                           java.lang.InterruptedException
Specified by:
pollChanges in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

getProject

public java.lang.String getProject()

getDatabase

public java.lang.String getDatabase()

getUsername

public java.lang.String getUsername()

getPassword

public java.lang.String getPassword()

getRelease

public java.lang.String getRelease()

getPurpose

public java.lang.String getPurpose()

getEngine

public java.lang.String getEngine()

setEngine

public void setEngine(java.lang.String engine)

getOldProject

public java.lang.String getOldProject()

getBaseline

public java.lang.String getBaseline()

getOldBaseline

public java.lang.String getOldBaseline()

isRemoteClient

public boolean isRemoteClient()

setRemoteClient

public void setRemoteClient(boolean remoteClient)

isDetectConflict

public boolean isDetectConflict()

setDetectConflict

public void setDetectConflict(boolean detectConflict)

isReplaceSubprojects

public boolean isReplaceSubprojects()

setReplaceSubprojects

public void setReplaceSubprojects(boolean replaceSubprojects)

isCheckForUpdateWarnings

public boolean isCheckForUpdateWarnings()

setCheckForUpdateWarnings

public void setCheckForUpdateWarnings(boolean checkForUpdateWarnings)

setLeaveSessionOpen

public void setLeaveSessionOpen(boolean leaveSessionOpen)

isLeaveSessionOpen

public boolean isLeaveSessionOpen()


Copyright © 2008-2009. All Rights Reserved.