Interface ParentWebLink

  • All Superinterfaces:
    WebLink

    public interface ParentWebLink
    extends WebLink
    • Method Detail

      • getParentWebLink

        WebLinkInfo getParentWebLink​(String projectName,
                                     String commit,
                                     String commitMessage,
                                     String branchName)
        WebLinkInfo describing a link from a parent revision 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 sha1 of the parent revision
        commitMessage - the commit messsage of the change
        branchName - target branch of the change
        Returns:
        WebLinkInfo that links to parent commit in external service, null if there should be no link.