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 Constructor Description BuildWarningSummaryCollationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @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.
-
-
-
Method Detail
-
appendWarningAnnotations
public void appendWarningAnnotations(@NotNull @NotNull TaskContext taskContext, @NotNull @NotNull Iterable<WarningAnnotation> annotations, @NotNull @NotNull Long associatedRepositoryId) throws IOExceptionDescription 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 IOExceptionDescription 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
-
-