Package hudson.plugins.git.browser
Class Gitiles
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<GitChangeSet>
hudson.plugins.git.browser.GitRepositoryBrowser
hudson.plugins.git.browser.Gitiles
- All Implemented Interfaces:
ExtensionPoint,Describable<RepositoryBrowser<?>>,Serializable
- Author:
- Manolo Carrasco MoƱino
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChangeSetLink(GitChangeSet changeSet) getDiffLink(GitChangeSet.Path path) Determines the link to the diff between the version in the specified revision ofGitChangeSet.Pathto its previous version.getFileLink(GitChangeSet.Path path) Determines the link to a single file under Git.Methods inherited from class hudson.plugins.git.browser.GitRepositoryBrowser
encodeURL, getChangeSetLink, getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrlMethods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlashMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
Gitiles
-
-
Method Details
-
getDiffLink
Description copied from class:GitRepositoryBrowserDetermines the link to the diff between the version in the specified revision ofGitChangeSet.Pathto its previous version.- Specified by:
getDiffLinkin classGitRepositoryBrowser- Parameters:
path- affected file path- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
IOException- on input or output error
-
getFileLink
Description copied from class:GitRepositoryBrowserDetermines the link to a single file under Git. This page should display all the past revisions of this file, etc.- Specified by:
getFileLinkin classGitRepositoryBrowser- Parameters:
path- affected file path- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
IOException- on input or output error
-
getChangeSetLink
- Specified by:
getChangeSetLinkin classRepositoryBrowser<GitChangeSet>- Throws:
IOException
-