Package com.atlassian.bamboo.build
Class BuildDetectionResultImpl
java.lang.Object
com.atlassian.bamboo.build.BuildDetectionResultImpl
- All Implemented Interfaces:
BuildDetectionResult
Returned from a
BuildDetectionAction
-
Constructor Summary
ConstructorDescriptionBuildDetectionResultImpl
(ErrorCollection errorCollection, @Nullable BuildContext buildContext) -
Method Summary
Modifier and TypeMethodDescription@Nullable BuildContext
TheBuildContext
produced by a successful execution of aBuildDetectionAction
@NotNull ErrorCollection
Any errors that may have happened when the execution ofBuildDetectionAction
failed
-
Constructor Details
-
BuildDetectionResultImpl
public BuildDetectionResultImpl(ErrorCollection errorCollection, @Nullable @Nullable BuildContext buildContext)
-
-
Method Details
-
getErrorCollection
Any errors that may have happened when the execution ofBuildDetectionAction
failed- Specified by:
getErrorCollection
in interfaceBuildDetectionResult
- Returns:
- errorCollection
-
getBuildContext
TheBuildContext
produced by a successful execution of aBuildDetectionAction
- Specified by:
getBuildContext
in interfaceBuildDetectionResult
- Returns:
- buildContext or null if error
-