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 BuildContextgetBuildContext()TheBuildContextproduced by a successful execution of aBuildDetectionAction@NotNull ErrorCollectiongetErrorCollection()Any errors that may have happened when the execution ofBuildDetectionActionfailed
-
-
-
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 ofBuildDetectionActionfailed- Specified by:
getErrorCollectionin interfaceBuildDetectionResult- Returns:
- errorCollection
-
getBuildContext
@Nullable public @Nullable BuildContext getBuildContext()
TheBuildContextproduced by a successful execution of aBuildDetectionAction- Specified by:
getBuildContextin interfaceBuildDetectionResult- Returns:
- buildContext or null if error
-
-