Package io.jenkins.plugins.checks.api
Class ChecksOutput
java.lang.Object
io.jenkins.plugins.checks.api.ChecksOutput
An output of a check. The output usually contains the most useful information like summary, description,
annotations, etc.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSummary
(int maxSize) Get the output summary, truncated byTruncatedString
to maxSize.getText()
getText
(int maxSize) Get the output text, truncated byTruncatedString
to maxSize.getTitle()
toString()
-
Constructor Details
-
ChecksOutput
Copy constructor of theChecksOutput
.- Parameters:
that
- the source to copy from
-
-
Method Details
-
getTitle
-
getSummary
-
getSummary
Get the output summary, truncated byTruncatedString
to maxSize.- Parameters:
maxSize
- maximum size to truncate summary to.- Returns:
- Summary, truncated to maxSize with truncation message if appropriate.
-
getText
-
getText
Get the output text, truncated byTruncatedString
to maxSize.- Parameters:
maxSize
- maximum size to truncate text to.- Returns:
- Text, truncated to maxSize with truncation message if appropriate.
-
getChecksAnnotations
-
getChecksImages
-
toString
-