Package org.jvnet.hudson.test
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FakeChangeLogSCM.ChangelogAction
static class
FakeChangeLogSCM.EntryImpl
static class
FakeChangeLogSCM.FakeChangeLogParser
static class
FakeChangeLogSCM.FakeChangeLogSet
-
Constructor Summary
Constructors Constructor Description FakeChangeLogSCM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FakeChangeLogSCM.EntryImpl
addChange()
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
createChangeLogParser()
hudson.scm.SCMDescriptor<?>
getDescriptor()
-
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
-
-
-
-
Method Detail
-
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 classhudson.scm.NullSCM
- Throws:
IOException
InterruptedException
-
createChangeLogParser
public hudson.scm.ChangeLogParser createChangeLogParser()
- Overrides:
createChangeLogParser
in classhudson.scm.NullSCM
-
getDescriptor
public hudson.scm.SCMDescriptor<?> getDescriptor()
- Specified by:
getDescriptor
in interfacehudson.model.Describable<hudson.scm.SCM>
- Overrides:
getDescriptor
in classhudson.scm.SCM
-
-