Interface PatchSetWebLink

  • All Superinterfaces:
    WebLink

    public interface PatchSetWebLink
    extends WebLink
    • 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 and WebLinkInfo.name must be set.

        Parameters:
        projectName - name of the project
        commit - commit of the patch set
        commitMessage - the commit message of the change
        branchName - 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 and WebLinkInfo.name must be set.

        Parameters:
        projectName - name of the project
        commit - commit of the patch set
        commitMessage - the commit message of the change
        branchName - target branch of the change
        changeKey - the changeID for this change
        Returns:
        WebLinkInfo that links to patch set in external service, null if there should be no link.