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