All Superinterfaces:
Block<String>

@Immutable @API(status=EXPERIMENTAL, since="0.2.0") public interface Image extends Block<String>
An image to be rendered in the HTML report.
Since:
0.2.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Builder for Image.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a new builder for Image.
    Returns the alt text of this image.

    Methods inherited from interface org.opentest4j.reporting.tooling.spi.htmlreport.Block

    getContent
  • Method Details

    • getAltText

      String getAltText()
      Returns the alt text of this image.
      Returns:
      the alt text of this image
    • builder

      static Image.Builder builder()
      Returns a new builder for Image.
      Returns:
      a new builder for Image