public interface

BuildSummary

com.atlassian.bitbucket.build.BuildSummary

Class Overview

Statistics regarding the build associated with a commit.

Summary

Public Methods
int getFailedCount()
Get the number of failed builds.
int getInProgressCount()
Get the number of builds in progress.
int getSuccessfulCount()
Get the number of successful builds.

Public Methods

public int getFailedCount ()

Get the number of failed builds.

Returns
  • the number of build statuses with the failed state.

public int getInProgressCount ()

Get the number of builds in progress.

Returns
  • the number of build statuses with the in progress state.

public int getSuccessfulCount ()

Get the number of successful builds.

Returns
  • the number of build statuses with the successful state.