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.

  • Field Details

    • protocolVersion

      private final String protocolVersion
    • implementation

      private final Product implementation
    • runtime

      private final Product runtime
    • os

      private final Product os
    • cpu

      private final Product cpu
    • ci

      private final @Nullable Ci ci
  • 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