Package io.jenkins.plugins.checks.api
Class ChecksAnnotation
- java.lang.Object
-
- io.jenkins.plugins.checks.api.ChecksAnnotation
-
public class ChecksAnnotation extends Object
An annotation for specific lines of code.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChecksAnnotation.ChecksAnnotationBuilder
Builder forChecksAnnotation
.static class
ChecksAnnotation.ChecksAnnotationLevel
The level represents the severity of the annotation.
-
Constructor Summary
Constructors Constructor Description ChecksAnnotation(ChecksAnnotation that)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChecksAnnotation.ChecksAnnotationLevel
getAnnotationLevel()
Optional<Integer>
getEndColumn()
Optional<Integer>
getEndLine()
Optional<String>
getMessage()
Optional<String>
getPath()
Optional<String>
getRawDetails()
Optional<Integer>
getStartColumn()
Optional<Integer>
getStartLine()
Optional<String>
getTitle()
String
toString()
-
-
-
Constructor Detail
-
ChecksAnnotation
public ChecksAnnotation(ChecksAnnotation that)
Copy constructor.- Parameters:
that
- the source
-
-
Method Detail
-
getAnnotationLevel
public ChecksAnnotation.ChecksAnnotationLevel getAnnotationLevel()
-
-