hudson.plugins.bitkeeper
Class BitKeeperSCM

java.lang.Object
  extended by hudson.scm.SCM
      extended by hudson.plugins.bitkeeper.BitKeeperSCM
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>

public class BitKeeperSCM
extends hudson.scm.SCM


Nested Class Summary
static class BitKeeperSCM.DescriptorImpl
           
 
Field Summary
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
BitKeeperSCM(java.lang.String parent, java.lang.String localRepo, boolean usePull, boolean quiet)
           
 
Method Summary
 boolean checkout(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener, java.io.File changelogFile)
           
 hudson.scm.ChangeLogParser createChangeLogParser()
           
 BitKeeperSCM.DescriptorImpl getDescriptor()
           
 java.lang.String getLocalRepository()
          Gets the local repository directory.
 hudson.FilePath getModuleRoot(hudson.FilePath workspace)
           
 java.lang.String getParent()
          Gets the source repository path.
 boolean isQuiet()
           
 boolean isUsePull()
           
 boolean pollChanges(hudson.model.AbstractProject project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.scm.SCM
buildEnvVars, createEmptyChangeLog, getBrowser, getEffectiveBrowser, getModuleRoots, nullify, requiresWorkspaceForPolling, supportsPolling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitKeeperSCM

@DataBoundConstructor
public BitKeeperSCM(java.lang.String parent,
                                         java.lang.String localRepo,
                                         boolean usePull,
                                         boolean quiet)
Method Detail

getParent

public java.lang.String getParent()
Gets the source repository path. Either URL or local file path.


getLocalRepository

public java.lang.String getLocalRepository()
Gets the local repository directory. Must be a local file path.


isUsePull

public boolean isUsePull()

isQuiet

public boolean isQuiet()

getModuleRoot

public hudson.FilePath getModuleRoot(hudson.FilePath workspace)
Overrides:
getModuleRoot in class hudson.scm.SCM

checkout

public boolean checkout(hudson.model.AbstractBuild build,
                        hudson.Launcher launcher,
                        hudson.FilePath workspace,
                        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

createChangeLogParser

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

getDescriptor

public BitKeeperSCM.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 workspace,
                           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


Copyright © 2008. All Rights Reserved.