Package hudson.plugins.git.browser
Class AssemblaWeb
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<GitChangeSet>
hudson.plugins.git.browser.GitRepositoryBrowser
hudson.plugins.git.browser.AssemblaWeb
- All Implemented Interfaces:
ExtensionPoint
,Describable<RepositoryBrowser<?>>
,Serializable
AssemblaWeb Git Browser URLs
- 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://[AssemblaWeb URL]/commits/[commit]getDiffLink
(GitChangeSet.Path path) Shows the difference between the referenced commit and the previous commit.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, validateUrl
Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
AssemblaWeb
-
-
Method Details
-
getChangeSetLink
Creates a link to the change set http://[AssemblaWeb URL]/commits/[commit]- Specified by:
getChangeSetLink
in classRepositoryBrowser<GitChangeSet>
- Parameters:
changeSet
- commit hash- Returns:
- change set link
- Throws:
IOException
- on input or output error
-
getDiffLink
Shows the difference between the referenced commit and the previous commit. The changes section also display diffs, so a separate url is unnecessary. http://[Assembla URL]/commits/[commit]- Specified by:
getDiffLink
in classGitRepositoryBrowser
- Parameters:
path
- affected file path- Returns:
- diff link
- Throws:
IOException
- on input or output error
-
getFileLink
Creates a link to the file. http://[Assembla URL]/nodes/[commit]/[path]- Specified by:
getFileLink
in classGitRepositoryBrowser
- Parameters:
path
- affected file path- Returns:
- diff link
- Throws:
IOException
- on input or output error
-