|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.scm.SCM
hudson.scm.NullSCM
org.jvnet.hudson.test.SingleFileSCM
public class SingleFileSCM
SCM useful for testing that puts just one file in the workspace.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
SingleFileSCM(String path,
byte[] contents)
|
|
SingleFileSCM(String path,
String contents)
|
|
SingleFileSCM(String path,
URL resource)
When a check out is requested, serve the contents of the URL and place it with the given path name. |
|
| Method Summary | |
|---|---|
boolean |
checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changeLogFile)
|
| Methods inherited from class hudson.scm.NullSCM |
|---|
calcRevisionsFromBuild, compareRemoteRevisionWith, createChangeLogParser |
| Methods inherited from class hudson.scm.SCM |
|---|
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, postCheckout, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleFileSCM(String path,
byte[] contents)
public SingleFileSCM(String path,
String contents)
throws UnsupportedEncodingException
UnsupportedEncodingException
public SingleFileSCM(String path,
URL resource)
throws IOException
IOException| Method Detail |
|---|
public boolean checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changeLogFile)
throws IOException,
InterruptedException
checkout in class hudson.scm.NullSCMIOException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||