public class UberallsClient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSES_COVERAGE_KEY |
static java.lang.String |
CONDITIONAL_COVERAGE_KEY |
static java.lang.String |
FILES_COVERAGE_KEY |
static java.lang.String |
LINE_COVERAGE_KEY |
static java.lang.String |
LINES_COVERED_KEY |
static java.lang.String |
LINES_TESTED_KEY |
static java.lang.String |
METHOD_COVERAGE_KEY |
static java.lang.String |
PACKAGE_COVERAGE_KEY |
Constructor and Description |
---|
UberallsClient(java.lang.String baseURL,
Logger logger,
java.lang.String repository,
java.lang.String branch) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseURL() |
org.apache.commons.httpclient.HttpClient |
getClient() |
java.lang.String |
getCoverage(java.lang.String sha) |
CodeCoverageMetrics |
getParentCoverage(java.lang.String sha) |
boolean |
isConfigured() |
boolean |
recordCoverage(java.lang.String sha,
CodeCoverageMetrics codeCoverageMetrics) |
public static final java.lang.String PACKAGE_COVERAGE_KEY
public static final java.lang.String FILES_COVERAGE_KEY
public static final java.lang.String CLASSES_COVERAGE_KEY
public static final java.lang.String METHOD_COVERAGE_KEY
public static final java.lang.String LINE_COVERAGE_KEY
public static final java.lang.String CONDITIONAL_COVERAGE_KEY
public static final java.lang.String LINES_COVERED_KEY
public static final java.lang.String LINES_TESTED_KEY
public UberallsClient(java.lang.String baseURL, Logger logger, java.lang.String repository, java.lang.String branch)
public java.lang.String getBaseURL()
public CodeCoverageMetrics getParentCoverage(java.lang.String sha)
public boolean recordCoverage(java.lang.String sha, CodeCoverageMetrics codeCoverageMetrics)
public java.lang.String getCoverage(java.lang.String sha)
public org.apache.commons.httpclient.HttpClient getClient()
public boolean isConfigured()