java.lang.Object
org.kohsuke.github.GHCheckRunBuilder.Annotation
- Enclosing class:
- GHCheckRunBuilder
The Class Annotation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotation(String path, int startLine, int endLine, GHCheckRun.AnnotationLevel annotationLevel, String message) Instantiates a new annotation.Annotation(String path, int line, GHCheckRun.AnnotationLevel annotationLevel, String message) Instantiates a new annotation. -
Method Summary
Modifier and TypeMethodDescriptionwithEndColumn(Integer endColumn) With end column.withRawDetails(String rawDetails) With raw details.withStartColumn(Integer startColumn) With start column.With title.
-
Constructor Details
-
Annotation
public Annotation(@NonNull String path, int line, @NonNull GHCheckRun.AnnotationLevel annotationLevel, @NonNull String message) Instantiates a new annotation.- Parameters:
path- the pathline- the lineannotationLevel- the annotation levelmessage- the message
-
Annotation
public Annotation(@NonNull String path, int startLine, int endLine, @NonNull GHCheckRun.AnnotationLevel annotationLevel, @NonNull String message) Instantiates a new annotation.- Parameters:
path- the pathstartLine- the start lineendLine- the end lineannotationLevel- the annotation levelmessage- the message
-
-
Method Details
-
withEndColumn
With end column.- Parameters:
endColumn- the end column- Returns:
- the annotation
-
withRawDetails
With raw details.- Parameters:
rawDetails- the raw details- Returns:
- the annotation
-
withStartColumn
With start column.- Parameters:
startColumn- the start column- Returns:
- the annotation
-
withTitle
With title.- Parameters:
title- the title- Returns:
- the annotation
-