Class FakeChangeLogSCM

java.lang.Object
hudson.scm.SCM
hudson.scm.NullSCM
org.jvnet.hudson.test.FakeChangeLogSCM
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>, Serializable

public class FakeChangeLogSCM extends hudson.scm.NullSCM implements Serializable
Fake SCM implementation that can report arbitrary commits from arbitrary users.
Author:
Kohsuke Kawaguchi
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class hudson.scm.NullSCM

    hudson.scm.NullSCM.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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    checkout(hudson.model.Run<?,?> build, hudson.Launcher launcher, hudson.FilePath remoteDir, hudson.model.TaskListener listener, File changeLogFile, hudson.scm.SCMRevisionState baseline)
     
    hudson.scm.ChangeLogParser
     
    hudson.scm.SCMDescriptor<?>
     

    Methods inherited from class hudson.scm.NullSCM

    calcRevisionsFromBuild, compareRemoteRevisionWith

    Methods inherited from class hudson.scm.SCM

    _calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FakeChangeLogSCM

      public FakeChangeLogSCM()
  • Method Details

    • addChange

      public FakeChangeLogSCM.EntryImpl addChange()
    • checkout

      public void checkout(hudson.model.Run<?,?> build, hudson.Launcher launcher, hudson.FilePath remoteDir, hudson.model.TaskListener listener, File changeLogFile, hudson.scm.SCMRevisionState baseline) throws IOException, InterruptedException
      Overrides:
      checkout in class hudson.scm.NullSCM
      Throws:
      IOException
      InterruptedException
    • createChangeLogParser

      public hudson.scm.ChangeLogParser createChangeLogParser()
      Overrides:
      createChangeLogParser in class hudson.scm.NullSCM
    • getDescriptor

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