Package org.kohsuke.github
Class GHCheckRunBuilder.Annotation
- java.lang.Object
-
- org.kohsuke.github.GHCheckRunBuilder.Annotation
-
- Enclosing class:
- GHCheckRunBuilder
public static final class GHCheckRunBuilder.Annotation extends Object
The Class Annotation.- See Also:
- documentation
-
-
Constructor Summary
Constructors Constructor Description Annotation(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GHCheckRunBuilder.Annotation
withEndColumn(Integer endColumn)
With end column.GHCheckRunBuilder.Annotation
withRawDetails(String rawDetails)
With raw details.GHCheckRunBuilder.Annotation
withStartColumn(Integer startColumn)
With start column.GHCheckRunBuilder.Annotation
withTitle(String title)
With title.
-
-
-
Constructor Detail
-
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 Detail
-
withStartColumn
@NonNull public GHCheckRunBuilder.Annotation withStartColumn(@CheckForNull Integer startColumn)
With start column.- Parameters:
startColumn
- the start column- Returns:
- the annotation
-
withEndColumn
@NonNull public GHCheckRunBuilder.Annotation withEndColumn(@CheckForNull Integer endColumn)
With end column.- Parameters:
endColumn
- the end column- Returns:
- the annotation
-
withTitle
@NonNull public GHCheckRunBuilder.Annotation withTitle(@CheckForNull String title)
With title.- Parameters:
title
- the title- Returns:
- the annotation
-
withRawDetails
@NonNull public GHCheckRunBuilder.Annotation withRawDetails(@CheckForNull String rawDetails)
With raw details.- Parameters:
rawDetails
- the raw details- Returns:
- the annotation
-
-