jetbrains.buildServer.serverSide
Interface ShortStatistics

All Known Subinterfaces:
BuildStatistics

public interface ShortStatistics

Author:
Kir This class holds some information about some metrics of the build and its status, including test counts.

Method Summary
 int getAllTestCount()
           
 Status getBuildStatus()
           
 int getCompilationErrorsCount()
           
 java.lang.String getCurrentStage()
           
 int getFailedTestCount()
           
 java.util.List<STestRun> getFailedTests()
           
 java.util.List<STestRun> getFailedTestsIncludingMuted()
           
 int getIgnoredTestCount()
           
 int getNewFailedCount()
           
 int getPassedTestCount()
           
 int getSignature()
           
 boolean isEmpty1()
          This method has so strange name because "empty" is predefined keyword in JSP EL.
 

Method Detail

isEmpty1

boolean isEmpty1()
This method has so strange name because "empty" is predefined keyword in JSP EL.

Returns:
true if build doesn't have any tests and has no compilation errors

getBuildStatus

Status getBuildStatus()
Returns:
build status

getCurrentStage

java.lang.String getCurrentStage()
Returns:
current progress text of the build. Progress text can be set either via specific syntax of the echo task or using specific message from build runner with block type DefaultMessagesInfo.BLOCK_TYPE_PROGRESS. Progress blocks can be nested.

getCompilationErrorsCount

int getCompilationErrorsCount()
Returns:
number of detected compilation errors within compilation blocks.

getPassedTestCount

int getPassedTestCount()
Returns:
number of passed(successful) tests in the build.

getNewFailedCount

int getNewFailedCount()
Returns:
number of newly failed tests in the build, i.e. number of tests which fail in this build the first time comparing with recent builds.

getIgnoredTestCount

int getIgnoredTestCount()
Returns:
number of ignored tests in the build.

getFailedTestCount

int getFailedTestCount()
Returns:
number of failed or error tests in the build

getAllTestCount

int getAllTestCount()
Returns:
total number of tests, including ignored, passed, and failed

getFailedTests

java.util.List<STestRun> getFailedTests()
Returns:
Collection of failed tests in the build, ordered by isNew, orderNumber (excluding muted runs)

getFailedTestsIncludingMuted

java.util.List<STestRun> getFailedTestsIncludingMuted()
Returns:
Collection of failed tests in the build, ordered by isNew, orderNumber (including muted runs)
Since:
7.0

getSignature

int getSignature()
Returns:
a signature of the build. We consider two builds fail the same way if they have the same signature.