public static class ChecksOutput.ChecksOutputBuilder extends Object
ChecksOutput.| 构造器和说明 |
|---|
ChecksOutputBuilder()
Construct a builder for a
ChecksOutput. |
| 限定符和类型 | 方法和说明 |
|---|---|
ChecksOutput.ChecksOutputBuilder |
addAnnotation(ChecksAnnotation annotation)
Adds a
ChecksAnnotation. |
ChecksOutput.ChecksOutputBuilder |
addImage(ChecksImage image)
Adds a
ChecksImage. |
ChecksOutput |
build()
Actually builds the
ChecksOutput with given parameters. |
ChecksOutput.ChecksOutputBuilder |
withAnnotations(List<ChecksAnnotation> annotations)
Sets the
ChecksAnnotation for a check run. |
ChecksOutput.ChecksOutputBuilder |
withImages(List<ChecksImage> images)
Sets the
ChecksImage for a check run. |
ChecksOutput.ChecksOutputBuilder |
withSummary(String summary)
Sets the summary of the check run
Note that for the GitHub check runs, the
summary supports Markdown. |
ChecksOutput.ChecksOutputBuilder |
withText(String text)
Adds the details description for a check run.
|
ChecksOutput.ChecksOutputBuilder |
withTitle(String title)
Sets the title of the check run.
|
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 withText(String text)
Note that for a GitHub check run, the text supports Markdown.
text - the details description in Markdownpublic 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–2020. All rights reserved.