Interface BuildStatusEnricher


public interface BuildStatusEnricher
A class that is used to add extra details to a RepositoryBuildStatus that don't exist in the database.
Since:
7.8
  • Method Summary

    Modifier and Type
    Method
    Description
    getArtifactLink(com.atlassian.bitbucket.build.status.RepositoryBuildStatus buildStatus)
     
    getLogLink(com.atlassian.bitbucket.build.status.RepositoryBuildStatus buildStatus)
     
  • Method Details

    • getArtifactLink

      @Nonnull Optional<URI> getArtifactLink(@Nonnull com.atlassian.bitbucket.build.status.RepositoryBuildStatus buildStatus)
      Parameters:
      buildStatus - the build status that the artifact link is associated with
      Returns:
      a link to artifacts for this RepositoryBuildStatus or Optional.empty() if none exists
    • getLogLink

      @Nonnull Optional<URI> getLogLink(@Nonnull com.atlassian.bitbucket.build.status.RepositoryBuildStatus buildStatus)
      Parameters:
      buildStatus - the build status that the log link is associated with
      Returns:
      a link to the logs for this RepositoryBuildStatus or Optional.empty() if none exists