|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TaskResultBuilder | |
---|---|
com.atlassian.bamboo.task |
Uses of TaskResultBuilder in com.atlassian.bamboo.task |
---|
Methods in com.atlassian.bamboo.task that return TaskResultBuilder | |
---|---|
TaskResultBuilder |
TaskResultBuilder.checkInterceptorMatches(ContentMatchingInterceptor interceptor,
int maximumAge)
|
TaskResultBuilder |
TaskResultBuilder.checkInterceptorNotMatches(ContentMatchingInterceptor interceptor,
int maximumAge)
|
TaskResultBuilder |
TaskResultBuilder.checkReturnCode(com.atlassian.utils.process.ExternalProcess externalProcess)
Checks that the return code of the ExternalProcess was zero
Will only check return codes if the build state has not been set to Failed for some other reason. |
TaskResultBuilder |
TaskResultBuilder.checkReturnCode(com.atlassian.utils.process.ExternalProcess externalProcess,
int expectedReturnCode)
Checks that the return code of the ExternalProcess was of the expected type. |
TaskResultBuilder |
TaskResultBuilder.checkTestFailures()
Checks whether any test failures have been recorded against the buildResult and updates the state accordingly Will only check tests if the build state has not been set to Failed for some other reason. |
static TaskResultBuilder |
TaskResultBuilder.create(TaskContext taskContext)
Creates a new TaskResultBuilder for a TaskContext |
TaskResultBuilder |
TaskResultBuilder.failed()
Sets the Task Result Status as TaskState.FAILED |
TaskResultBuilder |
TaskResultBuilder.failedWithError()
Sets the Task Result Status as TaskState.ERROR |
TaskResultBuilder |
TaskResultBuilder.setState(TaskState taskState)
|
TaskResultBuilder |
TaskResultBuilder.success()
Sets the Task Result Status as TaskState.SUCCESS |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |