public class ViewGitWeb extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
ViewGitWeb.ViewGitWebDescriptor |
GitRepositoryBrowser.GitUrlChecker| Constructor and Description |
|---|
ViewGitWeb(String url,
String projectName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
URL |
getChangeSetLink(GitChangeSet changeSet) |
URL |
getDiffLink(GitChangeSet.Path path)
Determines the link to the diff between the version
in the specified revision of
GitChangeSet.Path to its previous version. |
URL |
getFileLink(GitChangeSet.Path path)
Determines the link to a single file under Git.
|
String |
getProjectName() |
URL |
getUrl() |
int |
hashCode() |
@DataBoundConstructor public ViewGitWeb(String url, String projectName) throws MalformedURLException
MalformedURLExceptionpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
GitRepositoryBrowserGitChangeSet.Path to its previous version.getDiffLink in class GitRepositoryBrowserpath - affected file pathIOExceptionpublic URL getFileLink(GitChangeSet.Path path) throws IOException
GitRepositoryBrowsergetFileLink in class GitRepositoryBrowserpath - affected file pathIOExceptionpublic URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class hudson.scm.RepositoryBrowser<GitChangeSet>IOExceptionpublic URL getUrl()
public String getProjectName()
Copyright © 2004-2015 Hudson. All Rights Reserved.