Class NoWebRepositoryViewer

    • Constructor Detail

      • NoWebRepositoryViewer

        public NoWebRepositoryViewer()
    • Method Detail

      • getHtmlForCommitsFull

        public String getHtmlForCommitsFull​(@NotNull
                                            @NotNull ResultsSummary resultsSummary,
                                            @NotNull
                                            @NotNull RepositoryChangeset repositoryChangeset,
                                            @NotNull
                                            @NotNull RepositoryData repositoryDefinition)
        Description copied from interface: WebRepositoryViewer
        Renders the html to display the full commits on the changes tab.
        Specified by:
        getHtmlForCommitsFull in interface WebRepositoryViewer
        Parameters:
        resultsSummary - the summary to show commits for
        repositoryDefinition - the commits belong to aka the plans repository
        Returns:
        Html to be displayed on the UI in the Changes Tab.
      • getHtmlForCommitsSummary

        public String getHtmlForCommitsSummary​(@NotNull
                                               @NotNull ResultsSummary resultsSummary,
                                               @NotNull
                                               @NotNull RepositoryChangeset repositoryChangeset,
                                               @NotNull
                                               @NotNull RepositoryData repositoryData,
                                               int maxChanges)
        Description copied from interface: WebRepositoryViewer
        Renders the html to display a summary of the commits on the Build Results Summary tab.
        Specified by:
        getHtmlForCommitsSummary in interface WebRepositoryViewer
        Parameters:
        resultsSummary - the summary to show commits for
        repositoryData - the commits belong to aka the plans repository
        maxChanges - maximum number of commits to be shown. Negative value means that all commits should be shown.
        Returns:
        Html to displayed on the UI in the Build Results Summary Tab.
      • getWebRepositoryUrlForCommit

        @Nullable
        public @Nullable String getWebRepositoryUrlForCommit​(Commit commit,
                                                             @NotNull
                                                             @NotNull RepositoryData repositoryData)
        Description copied from interface: CommitUrlProvider
        Provide the url to link to the given commit in the web repository
        Specified by:
        getWebRepositoryUrlForCommit in interface CommitUrlProvider
        Parameters:
        commit - the commit to links to
        repositoryData - the repository type the commit came from
        Returns:
        a full url string.
      • getWebRepositoryUrlForRevision

        @Nullable
        public @Nullable String getWebRepositoryUrlForRevision​(String revisionId,
                                                               @NotNull
                                                               @NotNull RepositoryData repositoryData)
        Description copied from interface: CommitUrlProvider
        Provide the url to link to the given revision in the web repository
        Specified by:
        getWebRepositoryUrlForRevision in interface CommitUrlProvider
        Parameters:
        revisionId - the revision to links to
        repositoryData - the repository type the commit came from
        Returns:
        a full url string.