Class Meta

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

public final class Meta extends Object
Represents the Meta message in Cucumber's message protocol

This message contains meta information about the environment. Consumers can use this for various purposes.

  • Constructor Details

  • Method Details

    • getProtocolVersion

      public String getProtocolVersion()
      The [SEMVER](https://semver.org/) version number of the protocol
    • getImplementation

      public Product getImplementation()
      SpecFlow, Cucumber-JVM, Cucumber.js, Cucumber-Ruby, Behat etc.
    • getRuntime

      public Product getRuntime()
      Java, Ruby, Node.js etc
    • getOs

      public Product getOs()
      Windows, Linux, MacOS etc
    • getCpu

      public Product getCpu()
      386, arm, amd64 etc
    • getCi

      public Optional<Ci> getCi()
    • 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