public final class

BuildDetectionResultImpl

extends Object
implements BuildDetectionResult
java.lang.Object
   ↳ com.atlassian.bamboo.build.BuildDetectionResultImpl

Class Overview

Returned from a BuildDetectionAction

Summary

Public Constructors
BuildDetectionResultImpl(ErrorCollection errorCollection, BuildContext buildContext)
Public Methods
@Nullable BuildContext getBuildContext()
The BuildContext produced by a successful execution of a BuildDetectionAction
@NotNull ErrorCollection getErrorCollection()
Any errors that may have happened when the execution of BuildDetectionAction failed
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bamboo.build.BuildDetectionResult

Public Constructors

public BuildDetectionResultImpl (ErrorCollection errorCollection, BuildContext buildContext)

Public Methods

@Nullable public BuildContext getBuildContext ()

The BuildContext produced by a successful execution of a BuildDetectionAction

Returns
  • buildContext or null if error

@NotNull public ErrorCollection getErrorCollection ()

Any errors that may have happened when the execution of BuildDetectionAction failed

Returns
  • errorCollection