org.jenkinsci.plugins.darcs.browsers
Class DarcsWeb
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<DarcsChangeSet>
org.jenkinsci.plugins.darcs.browsers.DarcsRepositoryBrowser
org.jenkinsci.plugins.darcs.browsers.DarcsWeb
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable
public class DarcsWeb
- extends DarcsRepositoryBrowser
- Author:
- Sven Strittmatter
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Methods inherited from class hudson.scm.RepositoryBrowser |
all, normalizeToEndWithSlash, trimHeadSlash |
Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
public final URL url
repo
public final String repo
DarcsWeb
@DataBoundConstructor
public DarcsWeb(URL url,
String repo)
throws MalformedURLException
- Throws:
MalformedURLException
createDefaultQuery
protected org.jenkinsci.plugins.darcs.browsers.DarcsQueryBuilder createDefaultQuery()
createDefaultQuery
protected org.jenkinsci.plugins.darcs.browsers.DarcsQueryBuilder createDefaultQuery(String action)
getChangeSetLink
public URL getChangeSetLink(DarcsChangeSet changeSet)
throws IOException
- Get the change set URI.
Format: http://localhost/cgi-bin/darcsweb.cgi?r=REPO;a=commit;h=HASH
- Specified by:
getChangeSetLink
in class hudson.scm.RepositoryBrowser<DarcsChangeSet>
- Parameters:
changeSet
-
- Returns:
-
- Throws:
IOException
getFileDiffLink
public URL getFileDiffLink(DarcsChangeSet changeSet,
String file)
throws IOException
- Get file difference link.
Format: http://localhost/cgi-bin/darcsweb.cgi?r=REPO;a=filediff;h=HASH;f=FILE
- Specified by:
getFileDiffLink
in class DarcsRepositoryBrowser
- Parameters:
changeSet
- file
-
- Returns:
-
- Throws:
IOException
Copyright © 2004-2013 weltraumschaf.de. All Rights Reserved.