public static class ChecksOutput.ChecksOutputBuilder extends Object
ChecksOutput.| Constructor and Description |
|---|
ChecksOutputBuilder()
Construct a builder for a
ChecksOutput. |
public ChecksOutputBuilder()
ChecksOutput.public ChecksOutput.ChecksOutputBuilder withTitle(String title)
title - the title of the check runpublic ChecksOutput.ChecksOutputBuilder withSummary(String summary)
Note that for the GitHub check runs, the summary supports Markdown.
summary - the summary of the check runpublic ChecksOutput.ChecksOutputBuilder withSummary(TruncatedString summary)
TruncatedString.
Note that for the GitHub check runs, the summary supports Markdown.
summary - the summary of the check run as a TruncatedStringpublic ChecksOutput.ChecksOutputBuilder withText(String text)
Note that for a GitHub check run, the text supports Markdown.
text - the details description in Markdownpublic ChecksOutput.ChecksOutputBuilder withText(TruncatedString text)
TruncatedString. This parameter supports Markdown.
Note that for a GitHub check run, the text supports Markdown.
text - the details description in Markdown as a TruncatedStringpublic ChecksOutput.ChecksOutputBuilder withAnnotations(List<ChecksAnnotation> annotations)
ChecksAnnotation for a check run.annotations - the annotations listpublic ChecksOutput.ChecksOutputBuilder addAnnotation(ChecksAnnotation annotation)
ChecksAnnotation.annotation - the annotationpublic ChecksOutput.ChecksOutputBuilder withImages(List<ChecksImage> images)
ChecksImage for a check run.images - the images listpublic ChecksOutput.ChecksOutputBuilder addImage(ChecksImage image)
ChecksImage.image - the imagepublic ChecksOutput build()
ChecksOutput with given parameters.ChecksOutputCopyright © 2016–2021. All rights reserved.