Package hudson.plugins.git.browser
Class GitoriousWeb
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<GitChangeSet>
hudson.plugins.git.browser.GitRepositoryBrowser
hudson.plugins.git.browser.GitoriousWeb
- All Implemented Interfaces:
ExtensionPoint,Describable<RepositoryBrowser<?>>,Serializable
Git Browser for Gitorious
- 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) Creates a link to the commit 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
-
GitoriousWeb
-
-
Method Details
-
getChangeSetLink
- Specified by:
getChangeSetLinkin classRepositoryBrowser<GitChangeSet>- Throws:
IOException
-
getDiffLink
Creates a link to the commit diff.https://[Gitorious URL]/commit/a9182a07750c9a0dfd89a8461adf72ef5ef0885b/diffs?diffmode=sidebyside&fragment=1#[path to file]- Specified by:
getDiffLinkin classGitRepositoryBrowser- Parameters:
path- file path used in diff link- Returns:
- diff link
- Throws:
IOException- on input or output error
-
getFileLink
Creates a link to the file.https://[Gitorious URL]/blobs/a9182a07750c9a0dfd89a8461adf72ef5ef0885b/pom.xml- Specified by:
getFileLinkin classGitRepositoryBrowser- Parameters:
path- file path used in diff link- Returns:
- file link
- Throws:
IOException- on input or output error
-