Interface PatchSetWebLink
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.webui.WebLink
WebLink.Target
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebLinkInfo
getPatchSetWebLink(String projectName, String commit, String commitMessage, String branchName)
WebLinkInfo
describing a link from a patch set to an external service.
-
-
-
Method Detail
-
getPatchSetWebLink
WebLinkInfo getPatchSetWebLink(String projectName, String commit, String commitMessage, String branchName)
WebLinkInfo
describing a link from a patch set to an external service.In order for the web link to be visible
WebLinkInfo.url
andWebLinkInfo.name
must be set.- Parameters:
projectName
- name of the projectcommit
- commit of the patch setcommitMessage
- the commit message of the changebranchName
- target branch of the change- Returns:
- WebLinkInfo that links to patch set in external service, null if there should be no link.
-
-