org.jenkinsci.plugins.darcs.browsers
Class DarcsWeb
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<DarcsChangeSet>
org.jenkinsci.plugins.darcs.browsers.DarcsRepositoryBrowser
org.jenkinsci.plugins.darcs.browsers.DarcsWeb
- All Implemented Interfaces:
- ExtensionPoint, Describable<RepositoryBrowser<?>>, Serializable
public class DarcsWeb
- extends DarcsRepositoryBrowser
- Author:
- Sven Strittmatter
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serial version UID.
- See Also:
- Constant Field Values
url
public final URL url
repo
public final String repo
DarcsWeb
@DataBoundConstructor
public DarcsWeb(URL url,
String repo)
throws MalformedURLException
- Throws:
MalformedURLException
createDefaultQuery
protected DarcsQueryBuilder createDefaultQuery()
createDefaultQuery
protected 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 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.