WebLink.Target
Modifier and Type | Method and Description |
---|---|
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. |
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
and WebLinkInfo.name
must be set.
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