Class PickleDocString

java.lang.Object
io.cucumber.messages.types.PickleDocString

public final class PickleDocString extends Object
Represents the PickleDocString message in Cucumber's message protocol
  • Constructor Details

    • PickleDocString

      public PickleDocString(@Nullable Integer argumentIndex, @Nullable String mediaType, String content)
  • Method Details

    • getArgumentIndex

      public Optional<Integer> getArgumentIndex()
      The index of this argument. The value is 1 if it was declared before the data table, 2 if it was declared after.
    • getMediaType

      public Optional<String> getMediaType()
    • getContent

      public String getContent()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object