Package hudson.plugins.git.browser
Class KilnGit
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<GitChangeSet>
hudson.plugins.git.browser.GitRepositoryBrowser
hudson.plugins.git.browser.KilnGit
- All Implemented Interfaces:
ExtensionPoint,Describable<RepositoryBrowser<?>>,Serializable
- Author:
- Chris Klaiber (cklaiber@gmail.com)
- 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) Creates a link to the change set http://[KilnGit URL]/History/[commit]getDiffLink(GitChangeSet.Path path) Creates a link to the file diff.getFileLink(GitChangeSet.Path path) Creates a link to the file.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
-
KilnGit
-
-
Method Details
-
getChangeSetLink
Creates a link to the change set http://[KilnGit URL]/History/[commit]- Specified by:
getChangeSetLinkin classRepositoryBrowser<GitChangeSet>- Parameters:
changeSet- commit hash- Returns:
- change set link
- Throws:
IOException- on input or output error
-
getDiffLink
Creates a link to the file diff. http://[KilnGit URL]/History/[commit]#diff-N- Specified by:
getDiffLinkin classGitRepositoryBrowser- Parameters:
path- affected file path- Returns:
- diff link
- Throws:
IOException- on input or output error
-
getFileLink
Creates a link to the file. http://[KilnGit URL]/FileHistory/[path]?rev=[commit]- Specified by:
getFileLinkin classGitRepositoryBrowser- Parameters:
path- affected file path- Returns:
- diff link
- Throws:
IOException- on input or output error
-