Class BuildWarningSummaryCollationServiceImpl
java.lang.Object
com.atlassian.bamboo.build.warning.BuildWarningSummaryCollationServiceImpl
- All Implemented Interfaces:
BuildWarningSummaryCollationService
public class BuildWarningSummaryCollationServiceImpl
extends Object
implements BuildWarningSummaryCollationService
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.build.warning.BuildWarningSummaryCollationService
WARNINGS_ARTIFACT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull FileaggregationFileForCommonContext(@NotNull CommonContext commonContext) Returns the file containing collected warnings for a givenCommonContext.voidappendWarningAnnotations(@NotNull TaskContext taskContext, @NotNull Iterable<WarningAnnotation> annotations, @NotNull Long associatedRepositoryId) Adds warnings to a warnings file and updates the warnings summary for a build result.voidpublishCollectedWarnings(@NotNull BuildContext buildContext) Ends collection of warnings and publishes them as a build artifact.
-
Constructor Details
-
BuildWarningSummaryCollationServiceImpl
public BuildWarningSummaryCollationServiceImpl()
-
-
Method Details
-
appendWarningAnnotations
public void appendWarningAnnotations(@NotNull @NotNull TaskContext taskContext, @NotNull @NotNull Iterable<WarningAnnotation> annotations, @NotNull @NotNull Long associatedRepositoryId) throws IOException Description copied from interface:BuildWarningSummaryCollationServiceAdds warnings to a warnings file and updates the warnings summary for a build result.- Specified by:
appendWarningAnnotationsin interfaceBuildWarningSummaryCollationService- Throws:
IOException
-
publishCollectedWarnings
public void publishCollectedWarnings(@NotNull @NotNull BuildContext buildContext) throws IOException Description copied from interface:BuildWarningSummaryCollationServiceEnds collection of warnings and publishes them as a build artifact.- Specified by:
publishCollectedWarningsin interfaceBuildWarningSummaryCollationService- Throws:
IOException
-
aggregationFileForCommonContext
@NotNull public @NotNull File aggregationFileForCommonContext(@NotNull @NotNull CommonContext commonContext) Description copied from interface:BuildWarningSummaryCollationServiceReturns the file containing collected warnings for a givenCommonContext.- Specified by:
aggregationFileForCommonContextin interfaceBuildWarningSummaryCollationService
-