Class EmbedEvent

java.lang.Object
io.cucumber.plugin.event.TestCaseEvent
io.cucumber.plugin.event.EmbedEvent
All Implemented Interfaces:
Event

@API(status=STABLE) public final class EmbedEvent extends TestCaseEvent
  • Field Details

    • name

      public final String name
  • Constructor Details

  • Method Details

    • getData

      public byte[] getData()
    • getMediaType

      public String getMediaType()
    • getMimeType

      @Deprecated public String getMimeType()
      Deprecated.
      Returns:
      media type of the embedding.
    • getName

      public String getName()
    • getInstant

      public Instant getInstant()
      Returns instant from epoch.
      Specified by:
      getInstant in interface Event
      Returns:
      time instant in Instant
      See Also: