Interface DiffWebLink

  • All Superinterfaces:
    WebLink

    public interface DiffWebLink
    extends WebLink
    • Method Detail

      • 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 and WebLinkInfo.name must be set.

        Parameters:
        projectName - Name of the project
        changeId - ID of the change
        patchSetIdA - Patch set ID of side A, null if no base patch set was selected
        revisionA - Name of the revision of side A (e.g. branch or commit ID)
        fileNameA - Name of the file of side A
        patchSetIdB - Patch set ID of side B
        revisionB - 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.