|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CurrentBuildResult
Interface that defines the partial output of a plan being built
Field Summary | |
---|---|
static java.lang.String |
CBD_BUILD_TIME_STAMP
Key name in custom build data |
Method Summary | |
---|---|
void |
addBuildErrors(java.util.List<java.lang.String> errorMessages)
|
void |
appendTestResults(java.util.Set<TestResults> successfulTestResults,
java.util.Set<TestResults> failedTestResults,
java.util.Set<TestResults> skippedTestResults)
Append test results to the existing stored test results for this build. |
void |
clearBuildErrors()
|
BuildResults |
cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild)
|
java.util.List<java.lang.String> |
getBuildErrors()
|
int |
getBuildReturnCode()
|
BuildState |
getBuildState()
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomBuildData()
Returns a map of string keyed strings for storing arbitrary data |
java.util.Collection<TestResults> |
getFailedTestResults()
Returns TestResults for the tests that have failed during current build. |
LifeCycleState |
getLifeCycleState()
|
java.util.Collection<TestResults> |
getSkippedTestResults()
Returns TestResults for the tests that were skipped (or inconclusive) during current build. |
java.util.Collection<TestResults> |
getSuccessfulTestResults()
Returns TestResults for the tests that were successful during current build. |
java.util.List<TaskResult> |
getTaskResults()
|
java.util.List<TaskResult> |
getTaskResultsForTask(java.lang.String pluginKey)
|
boolean |
isCheckoutSuccess()
|
boolean |
isStarted()
|
void |
setBuildReturnCode(int buildReturnCode)
|
void |
setBuildState(BuildState buildState)
|
void |
setCheckoutSuccess(boolean checkoutSuccess)
|
void |
setLifeCycleState(LifeCycleState lifeCycleState)
|
void |
setStarted(boolean started)
|
void |
setTaskResults(java.util.List<TaskResult> taskResults)
|
void |
setTestResults(java.util.Set<TestResults> successfulTestResults,
java.util.Set<TestResults> failedTestResults)
Set the test results for this build. |
void |
setTestResults(java.util.Set<TestResults> successfulTestResults,
java.util.Set<TestResults> failedTestResults,
java.util.Set<TestResults> skippedTestResults)
Set the test results for this build. |
Field Detail |
---|
static final java.lang.String CBD_BUILD_TIME_STAMP
Method Detail |
---|
@NotNull BuildState getBuildState()
void setBuildState(@NotNull BuildState buildState)
@NotNull LifeCycleState getLifeCycleState()
void setLifeCycleState(@NotNull LifeCycleState lifeCycleState)
boolean isStarted()
void setStarted(boolean started)
int getBuildReturnCode()
void setBuildReturnCode(int buildReturnCode)
@NotNull java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
void addBuildErrors(@Nullable java.util.List<java.lang.String> errorMessages)
@NotNull java.util.List<java.lang.String> getBuildErrors()
void clearBuildErrors()
@Nullable java.util.Collection<TestResults> getFailedTestResults()
@Nullable java.util.Collection<TestResults> getSuccessfulTestResults()
@Nullable java.util.Collection<TestResults> getSkippedTestResults()
void setTestResults(@Nullable java.util.Set<TestResults> successfulTestResults, @Nullable java.util.Set<TestResults> failedTestResults, @Nullable java.util.Set<TestResults> skippedTestResults)
appendTestResults(Set, Set, Set)
instead.
successfulTestResults
- a set of successful results retrieved from the buildfailedTestResults
- a set of failed results retrieved from the buildskippedTestResults
- s set of skipped results retrieved from the buildvoid setTestResults(@Nullable java.util.Set<TestResults> successfulTestResults, @Nullable java.util.Set<TestResults> failedTestResults)
appendTestResults(Set, Set, Set)
instead.
successfulTestResults
- a set of successful results retrieved from the buildfailedTestResults
- a set of failed results retrieved from the buildvoid appendTestResults(@Nullable java.util.Set<TestResults> successfulTestResults, @Nullable java.util.Set<TestResults> failedTestResults, @Nullable java.util.Set<TestResults> skippedTestResults)
successfulTestResults
- - any new successful testsfailedTestResults
- - any new failed testsskippedTestResults
- - any new skipped testsBuildResults cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
boolean isCheckoutSuccess()
void setCheckoutSuccess(boolean checkoutSuccess)
@Nullable java.util.List<TaskResult> getTaskResults()
void setTaskResults(java.util.List<TaskResult> taskResults)
java.util.List<TaskResult> getTaskResultsForTask(@NotNull java.lang.String pluginKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |