Record Class RendererCapabilities

java.lang.Object
java.lang.Record
ke.ric.renderer.api.RendererCapabilities
Record Components:
rendererVersion - provider-reported renderer version
platform - provider-reported platform identifier
nativeAvailable - whether the current runtime can perform native rendering
packagedForProduction - whether the provider and native artifact have a matching production identity
supportedProfiles - immutable set of quality intents accepted by this runtime
supportedAttachments - immutable set of optional output attachments accepted by this runtime

public record RendererCapabilities(String rendererVersion, String platform, boolean nativeAvailable, boolean packagedForProduction, Set<RenderSettings.Profile> supportedProfiles, Set<Attachment> supportedAttachments) extends Record
Immutable snapshot of capabilities advertised by the current provider runtime. packagedForProduction is true only when the provider artifact and native library have a verified matching commercial product identity; it does not describe whether development use is otherwise functional.
  • Constructor Details

    • RendererCapabilities

      public RendererCapabilities(String rendererVersion, String platform, boolean nativeAvailable, boolean packagedForProduction, Set<RenderSettings.Profile> supportedProfiles, Set<Attachment> supportedAttachments)
      Creates an instance of a RendererCapabilities record class.
      Parameters:
      rendererVersion - the value for the rendererVersion record component
      platform - the value for the platform record component
      nativeAvailable - the value for the nativeAvailable record component
      packagedForProduction - the value for the packagedForProduction record component
      supportedProfiles - the value for the supportedProfiles record component
      supportedAttachments - the value for the supportedAttachments record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • rendererVersion

      public String rendererVersion()
      Returns the value of the rendererVersion record component.
      Returns:
      the value of the rendererVersion record component
    • platform

      public String platform()
      Returns the value of the platform record component.
      Returns:
      the value of the platform record component
    • nativeAvailable

      public boolean nativeAvailable()
      Returns the value of the nativeAvailable record component.
      Returns:
      the value of the nativeAvailable record component
    • packagedForProduction

      public boolean packagedForProduction()
      Returns the value of the packagedForProduction record component.
      Returns:
      the value of the packagedForProduction record component
    • supportedProfiles

      public Set<RenderSettings.Profile> supportedProfiles()
      Returns the value of the supportedProfiles record component.
      Returns:
      the value of the supportedProfiles record component
    • supportedAttachments

      public Set<Attachment> supportedAttachments()
      Returns the value of the supportedAttachments record component.
      Returns:
      the value of the supportedAttachments record component