Class InstrumentInfo

java.lang.Object
com.oracle.truffle.api.InstrumentInfo

public final class InstrumentInfo extends Object
Represents public information about an instrument.
Since:
0.26
  • Method Details

    • getId

      public String getId()
      Gets the id clients can use to acquire this instrument.
      Returns:
      this instrument's unique id
      Since:
      0.26
    • getName

      public String getName()
      Gets a human readable name of this instrument.
      Returns:
      this instrument's user-friendly name
      Since:
      0.26
    • getVersion

      public String getVersion()
      Gets the version of this instrument.
      Returns:
      this instrument's version
      Since:
      0.26
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Since:
      0.26