|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.scm.SCM org.jenkinsci.plugins.darcs.DarcsScm
public class DarcsScm
Darcs is a patch based distributed version control system. Contains the job configuration options as fields.
http://darcs.net/
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Field Summary |
---|
Fields inherited from class hudson.scm.SCM |
---|
PERMISSIONS, TAG |
Constructor Summary | |
---|---|
DarcsScm(String source)
Convenience constructor. |
|
DarcsScm(String source,
String localDir,
boolean clean,
DarcsRepositoryBrowser browser)
Dedicated constructor. |
Method Summary | |
---|---|
static void |
addAliases()
Add class name aliases for backward compatibility. |
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
|
boolean |
checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changelogFile)
|
protected hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline)
|
hudson.scm.ChangeLogParser |
createChangeLogParser()
|
DarcsRepositoryBrowser |
getBrowser()
|
DarcsScmDescriptor |
getDescriptor()
|
String |
getLocalDir()
Get the local directory in the workspace. |
String |
getSource()
Get the repositories source URL. |
boolean |
isClean()
Whether to clean the workspace or not. |
boolean |
requiresWorkspaceForPolling()
|
boolean |
supportsPolling()
|
Methods inherited from class hudson.scm.SCM |
---|
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DarcsScm(String source) throws SAXException
#DEFAULT_LOCAL_DIR
, clean to false
and browser to null
.
source
- repository URL from which we pull
SAXException
@DataBoundConstructor public DarcsScm(String source, String localDir, boolean clean, DarcsRepositoryBrowser browser)
source
- repository URL from which we pulllocalDir
- Local directory in the workspaceclean
- true
cleans the workspace, false
notbrowser
- the browser used to browse the repositoryMethod Detail |
---|
public String getSource()
public String getLocalDir()
public boolean isClean()
true
if clean is performed, false
elsepublic DarcsRepositoryBrowser getBrowser()
getBrowser
in class hudson.scm.SCM
public boolean supportsPolling()
supportsPolling
in class hudson.scm.SCM
public boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling
in class hudson.scm.SCM
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
calcRevisionsFromBuild
in class hudson.scm.SCM
IOException
InterruptedException
protected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener, hudson.scm.SCMRevisionState baseline) throws IOException, InterruptedException
compareRemoteRevisionWith
in class hudson.scm.SCM
IOException
InterruptedException
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.SCM
IOException
InterruptedException
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.SCM
public DarcsScmDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.scm.SCM>
getDescriptor
in class hudson.scm.SCM
@Initializer(before=PLUGINS_STARTED) public static void addAliases()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |