Interface FileWebLink

All Superinterfaces:
WebLink

public interface FileWebLink extends WebLink
  • Method Details

    • getFileWebLink

      WebLinkInfo getFileWebLink(String projectName, String revision, String hash, String fileName)
      WebLinkInfo describing a link from a file 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
      revision - Name of the revision (e.g. branch or commit ID)
      hash - SHA-1 of the commit
      fileName - Name of the file
      Returns:
      WebLinkInfo that links to project in external service, null if there should be no link.