Package io.jenkins.plugins.checks.api
Class ChecksImage
java.lang.Object
io.jenkins.plugins.checks.api.ChecksImage
An image of a check. Users may use a image to show the code coverage, issues trend, etc.
-
Constructor Summary
ConstructorDescriptionChecksImage
(String alt, String imageURL, String caption) Constructs an image with all parameters. -
Method Summary
-
Constructor Details
-
Method Details
-
getAlt
Returns the alternative text for the image.- Returns:
- the alternative text for the image
-
getImageUrl
Returns the image URL. Note: This method will be deprecated after 1.0.0, usegetImageURL()
instead.- Returns:
- the image URL
-
getImageURL
Returns the image URL.- Returns:
- the image URL
-
getCaption
Returns the short description of the image.- Returns:
- the short description of the image
-
toString
-