public class BuildWarningSummaryCollationServiceImpl extends Object implements BuildWarningSummaryCollationService
WARNINGS_ARTIFACT
Constructor and Description |
---|
BuildWarningSummaryCollationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
File |
aggregationFileForCommonContext(CommonContext commonContext)
Returns the file containing collected warnings for a given
CommonContext . |
void |
appendWarningAnnotations(TaskContext taskContext,
Iterable<WarningAnnotation> annotations,
Long associatedRepositoryId)
Adds warnings to a warnings file and updates the warnings summary for a build result.
|
void |
publishCollectedWarnings(BuildContext buildContext)
Ends collection of warnings and publishes them as a build artifact.
|
public BuildWarningSummaryCollationServiceImpl()
public void appendWarningAnnotations(@NotNull TaskContext taskContext, @NotNull Iterable<WarningAnnotation> annotations, @NotNull Long associatedRepositoryId) throws IOException
BuildWarningSummaryCollationService
appendWarningAnnotations
in interface BuildWarningSummaryCollationService
IOException
public void publishCollectedWarnings(@NotNull BuildContext buildContext) throws IOException
BuildWarningSummaryCollationService
publishCollectedWarnings
in interface BuildWarningSummaryCollationService
IOException
@NotNull public File aggregationFileForCommonContext(@NotNull CommonContext commonContext)
BuildWarningSummaryCollationService
CommonContext
.aggregationFileForCommonContext
in interface BuildWarningSummaryCollationService
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.