org.jvnet.hudson.test
Class FakeChangeLogSCM
java.lang.Object
hudson.scm.SCM
hudson.scm.NullSCM
org.jvnet.hudson.test.FakeChangeLogSCM
- All Implemented Interfaces:
- ExtensionPoint, Describable<SCM>
public class FakeChangeLogSCM
- extends NullSCM
Fake SCM implementation that can report arbitrary commits from arbitrary users.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class hudson.scm.SCM |
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FakeChangeLogSCM
public FakeChangeLogSCM()
addChange
public FakeChangeLogSCM.EntryImpl addChange()
checkout
public boolean checkout(AbstractBuild<?,?> build,
Launcher launcher,
FilePath remoteDir,
BuildListener listener,
File changeLogFile)
throws IOException,
InterruptedException
- Overrides:
checkout in class NullSCM
- Throws:
IOException
InterruptedException
createChangeLogParser
public ChangeLogParser createChangeLogParser()
- Overrides:
createChangeLogParser in class NullSCM
Copyright © 2004-2011. All Rights Reserved.