Interface PatchSetWebLink

All Superinterfaces:
WebLink

public interface PatchSetWebLink extends WebLink
  • Method Details

    • 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

      @Deprecated default WebLinkInfo getPatchSetWebLink(String projectName, String commit, String commitMessage, String branchName, String changeKey)
      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
      changeKey - the changeID for this 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, int numericChangeId)
      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
      numericChangeId - the numeric changeID for this change
      Returns:
      WebLinkInfo that links to patch set in external service, null if there should be no link.