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 Default Methods Deprecated Methods Modifier and Type Method Description WebLinkInfo
getPatchSetWebLink(String projectName, String commit, String commitMessage, String branchName)
Deprecated.default WebLinkInfo
getPatchSetWebLink(String projectName, String commit, String commitMessage, String branchName, String changeKey)
WebLinkInfo
describing a link from a patch set to an external service.
-
-
-
Method Detail
-
getPatchSetWebLink
@Deprecated WebLinkInfo getPatchSetWebLink(String projectName, String commit, String commitMessage, String branchName)
Deprecated.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.
-
getPatchSetWebLink
default WebLinkInfo getPatchSetWebLink(String projectName, String commit, String commitMessage, String branchName, String changeKey)
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 changechangeKey
- the changeID for this change- Returns:
- WebLinkInfo that links to patch set in external service, null if there should be no link.
-
-