public class CGit extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
CGit.CGITDescriptor |
GitRepositoryBrowser.GitUrlChecker| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
URL |
getChangeSetLink(GitChangeSet changeSet)
Creates a link to the change set
http://[CGit URL]/commit?id=[commit]
|
URL |
getDiffLink(GitChangeSet.Path path)
Creates a link to the file diff.
|
URL |
getFileLink(GitChangeSet.Path path)
Creates a link to the file.
|
URL |
getUrl() |
int |
hashCode() |
@DataBoundConstructor public CGit(String url) throws MalformedURLException
MalformedURLExceptionpublic URL getUrl()
public URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class hudson.scm.RepositoryBrowser<GitChangeSet>changeSet - commit hashIOExceptionpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
getDiffLink in class GitRepositoryBrowserpath - affected file pathIOExceptionpublic URL getFileLink(GitChangeSet.Path path) throws IOException
getFileLink in class GitRepositoryBrowserpath - affected file pathIOExceptionCopyright © 2004-2015 Hudson. All Rights Reserved.