hudson.plugins.clearcase
Class ClearCaseSCM

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

public class ClearCaseSCM
extends hudson.scm.SCM

Clear case SCM. This SCM uses the cleartool to update and get the change log.

Author:
Erik Ramfelt

Nested Class Summary
static class ClearCaseSCM.ClearCaseScmDescriptor
          Clear case SCM descriptor
 
Field Summary
static java.lang.String CLEARCASE_VIEWNAME_ENVSTR
           
 
Constructor Summary
ClearCaseSCM(ClearToolFactory clearToolFactory, java.lang.String branch, java.lang.String configSpec, java.lang.String viewName, boolean useUpdate, java.lang.String vobPaths, boolean useDynamicView, java.lang.String viewDrive)
           
ClearCaseSCM(java.lang.String branch, java.lang.String configSpec, java.lang.String viewName, boolean useUpdate, java.lang.String vobPaths, boolean useDynamicView, java.lang.String viewDrive)
           
 
Method Summary
 void buildEnvVars(hudson.model.AbstractBuild build, java.util.Map<java.lang.String,java.lang.String> env)
           
 boolean checkout(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener, java.io.File changelogFile)
           
 hudson.scm.ChangeLogParser createChangeLogParser()
           
 java.lang.String getBranch()
           
 java.lang.String getConfigSpec()
           
 ClearCaseSCM.ClearCaseScmDescriptor getDescriptor()
           
 java.lang.String getViewDrive()
           
 java.lang.String getViewName()
           
 java.lang.String getVobPaths()
           
 boolean isUseDynamicView()
           
 boolean isUseUpdate()
           
 boolean pollChanges(hudson.model.AbstractProject project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.scm.SCM
createEmptyChangeLog, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoots, nullify, supportsPolling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLEARCASE_VIEWNAME_ENVSTR

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

ClearCaseSCM

public ClearCaseSCM(ClearToolFactory clearToolFactory,
                    java.lang.String branch,
                    java.lang.String configSpec,
                    java.lang.String viewName,
                    boolean useUpdate,
                    java.lang.String vobPaths,
                    boolean useDynamicView,
                    java.lang.String viewDrive)

ClearCaseSCM

public ClearCaseSCM(java.lang.String branch,
                    java.lang.String configSpec,
                    java.lang.String viewName,
                    boolean useUpdate,
                    java.lang.String vobPaths,
                    boolean useDynamicView,
                    java.lang.String viewDrive)
Method Detail

getBranch

public java.lang.String getBranch()

getConfigSpec

public java.lang.String getConfigSpec()

getViewName

public java.lang.String getViewName()

isUseUpdate

public boolean isUseUpdate()

getVobPaths

public java.lang.String getVobPaths()

isUseDynamicView

public boolean isUseDynamicView()

getViewDrive

public java.lang.String getViewDrive()

getDescriptor

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

buildEnvVars

public void buildEnvVars(hudson.model.AbstractBuild build,
                         java.util.Map<java.lang.String,java.lang.String> env)
Overrides:
buildEnvVars 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

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

createChangeLogParser

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


Copyright © 2007. All Rights Reserved.