com.michelin.cio.hudson.plugins.clearcaseucmbaseline
Class ClearCaseUcmBaselineSCM

java.lang.Object
  extended by hudson.scm.SCM
      extended by com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>

public class ClearCaseUcmBaselineSCM
extends hudson.scm.SCM

This class is of no real use and is only there for a "ClearCase UCM baseline" option to be displayed in the "Source Code Management" section of the configuration screen of AbstractProjects.

If you refer to ClearCaseUcmBaselineSCM/config.jelly file, you'll see that there is no possibility to configure this option: This option is just there so that the user is displayed with a message saying that, if he wants to gets his data from a ClearCase UBM baseline, he has to actually add a "ClearCase UCM baseline" build parameter to get the real configuration fields (as defined in ClearCaseUcmBaselineParameterDefinition).

Version:
1.0
Author:
Romain Seguy (http://davadoc.deviantart.com)
See Also:
ClearCaseUcmBaselineParameterDefinition

Nested Class Summary
static class ClearCaseUcmBaselineSCM.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
ClearCaseUcmBaselineSCM()
           
 
Method Summary
 boolean checkout(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener, java.io.File changelogFile)
          This method does nothing except checking that a "ClearCase UCM baseline" parameter has been defined for the job (it not, the build will fail).
 hudson.scm.ChangeLogParser createChangeLogParser()
           
 ClearCaseUcmBaselineSCM.DescriptorImpl getDescriptor()
           
 boolean pollChanges(hudson.model.AbstractProject project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.scm.SCM
_for, all, buildEnvVars, createEmptyChangeLog, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoots, nullify, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearCaseUcmBaselineSCM

@DataBoundConstructor
public ClearCaseUcmBaselineSCM()
Method Detail

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
This method does nothing except checking that a "ClearCase UCM baseline" parameter has been defined for the job (it not, the build will fail).

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 ClearCaseUcmBaselineSCM.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 © 2010. All Rights Reserved.