Interface DiffWebLink
- All Superinterfaces:
WebLink
-
Method Summary
Modifier and TypeMethodDescriptiongetDiffLink
(String projectName, int changeId, Integer patchSetIdA, String revisionA, String fileNameA, int patchSetIdB, String revisionB, String fileNameB) DiffWebLinkInfo
describing a link from a file diff to an external service.
-
Method Details
-
getDiffLink
DiffWebLinkInfo getDiffLink(String projectName, int changeId, Integer patchSetIdA, String revisionA, String fileNameA, int patchSetIdB, String revisionB, String fileNameB) DiffWebLinkInfo
describing a link from a file diff 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 projectchangeId
- ID of the changepatchSetIdA
- Patch set ID of side A,null
if no base patch set was selectedrevisionA
- Name of the revision of side A (e.g. branch or commit ID)fileNameA
- Name of the file of side ApatchSetIdB
- Patch set ID of side BrevisionB
- Name of the revision of side B (e.g. branch or commit ID)fileNameB
- Name of the file of side B- Returns:
- WebLinkInfo that links to file diff in external service, null if there should be no link.
-