WebLink.Target
Modifier and Type | Method and Description |
---|---|
DiffWebLinkInfo |
getDiffLink(java.lang.String projectName,
int changeId,
java.lang.Integer patchSetIdA,
java.lang.String revisionA,
java.lang.String fileNameA,
int patchSetIdB,
java.lang.String revisionB,
java.lang.String fileNameB)
DiffWebLinkInfo describing a link from a file diff
to an external service. |
DiffWebLinkInfo getDiffLink(java.lang.String projectName, int changeId, java.lang.Integer patchSetIdA, java.lang.String revisionA, java.lang.String fileNameA, int patchSetIdB, java.lang.String revisionB, java.lang.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